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

# README

MongoDB Go Driver Low-Level Driver Library

The packages within this library allow users to build applications using a low-level driver interface. Knowledge of the internals of a MongoDB driver are assumed, so this library contains advanced features. The aim of this library is to provide an easy to use, high performance implementation of a low-level driver.

This Library's API is experimental and subject to change. Packages may be changed or removed without notice. These APIs are not stable and do not guarantee backward compatibility.

THIS LIBRARY IS EXPERIMENTAL AND SUBJECT TO CHANGE.

# Packages

Package auth is not for public use.
No description provided by the author
No description provided by the author
Package topology contains types that handles the discovery, monitoring, and selection of servers.
No description provided by the author

# Functions

AbortTransaction handles the full cycle dispatch and execution of abortting a transaction against the provided topology.
Aggregate handles the full cycle dispatch and execution of an aggregate command against the provided topology.
BulkWrite handles the full dispatch cycle for a bulk write operation.
CommitTransaction handles the full cycle dispatch and execution of committing a transaction against the provided topology.
Count handles the full cycle dispatch and execution of a count command against the provided topology.
CountDocuments handles the full cycle dispatch and execution of a countDocuments command against the provided topology.
CreateIndexes handles the full cycle dispatch and execution of a createIndexes command against the provided topology.
Delete handles the full cycle dispatch and execution of a delete command against the provided topology.
Distinct handles the full cycle dispatch and execution of a distinct command against the provided topology.
DropCollection handles the full cycle dispatch and execution of a dropCollection command against the provided topology.
DropDatabase handles the full cycle dispatch and execution of a dropDatabase command against the provided topology.
DropIndexes handles the full cycle dispatch and execution of a dropIndexes command against the provided topology.
EndSessions handles the full cycle dispatch and execution of an endSessions command against the provided topology.
Find handles the full cycle dispatch and execution of a find command against the provided topology.
FindOneAndDelete handles the full cycle dispatch and execution of a FindOneAndDelete command against the provided topology.
FindOneAndReplace handles the full cycle dispatch and execution of a FindOneAndReplace command against the provided topology.
FindOneAndUpdate handles the full cycle dispatch and execution of a FindOneAndUpdate command against the provided topology.
Insert handles the full cycle dispatch and execution of an insert command against the provided topology.
KillCursors handles the full cycle dispatch and execution of an aggregate command against the provided topology.
ListCollections handles the full cycle dispatch and execution of a listCollections command against the provided topology.
ListDatabases handles the full cycle dispatch and execution of a listDatabases command against the provided topology.
ListIndexes handles the full cycle dispatch and execution of a listIndexes command against the provided topology.
NewBatchCursor creates a new BatchCursor from the provided parameters.
NewEmptyBatchCursor returns a batch cursor that is empty.
NewLegacyBatchCursor creates a new BatchCursor for server versions 3.0 and below from the provided parameters.
NewLegacyListCollectionsBatchCursor creates a new legacy ListCollectionsCursor.
NewListCollectionsBatchCursor creates a new non-legacy ListCollectionsCursor.
Read handles the full cycle dispatch and execution of a read command against the provided topology.
ReadCursor handles the full dispatch cycle and execution of a read command against the provided topology and returns a Cursor over the resulting BSON reader.
Update handles the full cycle dispatch and execution of an update command against the provided topology.
Write handles the full cycle dispatch and execution of a write command against the provided topology.

# Variables

ErrArrayFilters is caused if array filters are given for an invalid server version.
ErrCollation is caused if a collation is given for an invalid server version.
ErrFilterType is thrown when a non-string filter is specified.

# Structs

BatchCursor is a batch implementation of a cursor.
BulkWriteError is an error from one operation in a bulk write.
BulkWriteException is a collection of errors returned by a bulk write operation.
DeleteManyModel is the write model for deleteMany operations.
DeleteOneModel is the write model for delete operations.
InsertOneModel is the write model for insert operations.
ListCollectionsBatchCursor is a special batch cursor returned from ListCollections that properly handles current and legacy ListCollections operations.
ReplaceOneModel is the write model for replace operations.
UpdateManyModel is the write model for updateMany operations.
UpdateModel contains the fields that are shared between the ReplaceOneModel, UpdateOneModel, and UpdateManyModel types.
UpdateOneModel is the write model for update operations.

# Interfaces

WriteModel is the interface satisfied by all models for bulk writes.