qmetrics.net

Mongo Go Driver

Official MongoDB client library for Go applications

DatabasesDesktop/CLI app
Mongo Go Driver screenshot

MongoDB’s supported Go driver connects applications to MongoDB for CRUD, aggregation, indexing, and secure access. Install via Go modules from go.mongodb.org/mongo-driver.

Overview

The MongoDB Go driver is the supported way for Go programs to connect to MongoDB deployments, discover servers, and run reads and writes. You import the mongo package, create a Client with Connect, and defer Disconnect when finished. Connect does not block on discovery; Ping can confirm that a server is reachable.

Guides walk through databases and collections, CRUD, aggregation, specialized data formats, indexes, database commands, time series collections, monitoring, logging, and security. The context package is used to manage blocking calls. Documentation also covers connection troubleshooting and API details for types and methods.

Network compression can shrink traffic between the application and MongoDB when both sides support it. The driver can negotiate Snappy and related compressors via connection options or connection strings. MongoDB Search and MongoDB Vector Search material describes running those query types from Go.

Semantic versioning governs releases. The driver targets recent Go toolchains and MongoDB 4.4 or newer. Examples and extended reference material live in the official docs site and bundled examples.

Key features

  • mongo.Client connection API
  • CRUD via Database and Collection
  • Aggregation pipelines
  • Index management
  • Network compression negotiation
  • Context-aware blocking calls
  • MongoDB Search queries
  • Security and authentication options

Use cases

  • Go services backed by MongoDB
  • CRUD and cursor-based reads
  • Aggregation and reporting
  • Compressed connections to MongoDB
  • Atlas Search and vector queries from Go

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift