package
0.0.2
Repository: https://github.com/orijtech/mongo-go-driver.git
Documentation: pkg.go.dev

# Functions

Aggregate performs an aggregation.
Count counts how many documents in a collection match a given query.
Delete executes an delete command with a given set of delete documents and options.
Distinct returns the distinct values for a specified field across a single collection.
Find executes a query.
FindOneAndDelete modifies and returns a single document.
FindOneAndReplace modifies and returns a single document.
FindOneAndUpdate modifies and returns a single document.
Insert executes an insert command for the given set of documents.
KillCursors kills one or more cursors.
LegacyAggregate executes the aggregate command with the given pipeline and options.
ListCollections lists the collections in the given database with the given options.
ListDatabases lists the databases with the given options.
ListIndexes lists the indexes on the given namespace.
NewCursor creates a new cursor from the given cursor result.
NewExhaustedCursor creates a new exhausted cursor.
NewNamespace returns a new Namespace for the given database and collection.
ParseNamespace parses a namespace string into a Namespace.
Run executes an arbitrary command against the given database.
RunCommand runs a command on the database.
Update executes an update command with a given set of update documents and options.

# Structs

AggregationOptions are the options for the aggregate command.
ListCollectionsOptions are the options for listing collections.
ListDatabasesOptions are the options for listing databases.
ListIndexesOptions are the options for listing indexes.
Namespace encapsulates a database and collection name, which together uniquely identifies a collection within a MongoDB cluster.
SelectedServer represents a binding to a server.

# Interfaces

Cursor instances iterate a stream of documents.
Server represents a server.