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

# Functions

NewAbortTransaction constructs and returns a new AbortTransaction.
NewAggregate constructs and returns a new Aggregate.
NewCommand constructs and returns a new Command.
NewCommitTransaction constructs and returns a new CommitTransaction.
NewCount constructs and returns a new Count.
NewCreate constructs and returns a new Create.
NewCreateIndexes constructs and returns a new CreateIndexes.
NewCreateSearchIndexes constructs and returns a new CreateSearchIndexes.
NewCursorCommand constructs a new Command.
NewDelete constructs and returns a new Delete.
NewDistinct constructs and returns a new Distinct.
NewDropCollection constructs and returns a new DropCollection.
NewDropDatabase constructs and returns a new DropDatabase.
NewDropIndexes constructs and returns a new DropIndexes.
NewDropSearchIndex constructs and returns a new DropSearchIndex.
NewEndSessions constructs and returns a new EndSessions.
NewFind constructs and returns a new Find.
NewFindAndModify constructs and returns a new FindAndModify.
NewHello constructs a Hello.
NewInsert constructs and returns a new Insert.
NewListCollections constructs and returns a new ListCollections.
NewListDatabases constructs and returns a new ListDatabases.
NewListIndexes constructs and returns a new ListIndexes.
NewUpdate constructs and returns a new Update.
NewUpdateSearchIndex constructs and returns a new UpdateSearchIndex.

# Structs

AbortTransaction performs an abortTransaction operation.
Aggregate represents an aggregate operation.
Command is used to run a generic operation.
CommitTransaction attempts to commit a transaction.
Count represents a count operation.
CountResult represents a count result returned by the server.
Create represents a create operation.
CreateIndexes performs a createIndexes operation.
CreateIndexesResult represents a createIndexes result returned by the server.
CreateSearchIndexes performs a createSearchIndexes operation.
CreateSearchIndexesResult represents a createSearchIndexes result returned by the server.
CreateSearchIndexResult represents a single search index result in CreateSearchIndexesResult.
Delete performs a delete operation.
DeleteResult represents a delete result returned by the server.
Distinct performs a distinct operation.
DistinctResult represents a distinct result returned by the server.
DropCollection performs a drop operation.
DropCollectionResult represents a dropCollection result returned by the server.
DropDatabase performs a dropDatabase operation.
DropIndexes performs an dropIndexes operation.
DropIndexesResult represents a dropIndexes result returned by the server.
DropSearchIndex performs an dropSearchIndex operation.
DropSearchIndexResult represents a dropSearchIndex result returned by the server.
EndSessions performs an endSessions operation.
Find performs a find operation.
FindAndModify performs a findAndModify operation.
FindAndModifyResult represents a findAndModify result returned by the server.
Hello is used to run the handshake operation.
Insert performs an insert operation.
InsertResult represents an insert result returned by the server.
LastErrorObject represents information about updates and upserts returned by the server.
ListCollections performs a listCollections operation.
ListDatabases performs a listDatabases operation.
ListDatabasesResult represents a listDatabases result returned by the server.
ListIndexes performs a listIndexes operation.
Update performs an update operation.
UpdateResult contains information for the result of an Update operation.
UpdateSearchIndex performs a updateSearchIndex operation.
UpdateSearchIndexResult represents a single index in the updateSearchIndexResult result.
Upsert contains the information for an upsert in an Update operation.