# Functions
ClientDoc creates a client information document for use in an isMaster command.
IsNotFound indicates if the error is from a namespace not being found.
NewCommandResponseError creates a CommandResponseError.
NewNamespace returns a new Namespace for the given database and collection.
ParseNamespace parses a namespace string into a Namespace.
# Variables
ErrMultiDocCommandResponse occurs when the server sent multiple documents in response to a command.
ErrNoCommandResponse occurs when the server sent no response document to a command.
ErrNoDocCommandResponse occurs when the server indicated a response existed, but none was found.
ErrUnknownCommandFailure occurs when a command fails for an unknown reason.
# Structs
Aggregate represents the aggregate command.
BuildInfo represents the buildInfo command.
Command represents a generic database command.
Count represents the count command.
CreateIndexes represents the createIndexes command.
Delete represents the delete command.
Distinct represents the disctinct command.
DropCollection represents the drop command.
DropDatabase represents the DropDatabase command.
DropIndexes represents the dropIndexes command.
Error is a command execution error from the database.
Find represents the find command.
FindOneAndDelete represents the findOneAndDelete operation.
FindOneAndReplace represents the findOneAndReplace operation.
FindOneAndUpdate represents the findOneAndUpdate operation.
GetLastError represents the getLastError command.
GetMore represents the getMore command.
Handshake represents a generic MongoDB Handshake.
Insert represents the insert command.
IsMaster represents the isMaster command.
KillCursors represents the killCursors command.
ListCollections represents the listCollections command.
ListDatabases represents the listDatabases command.
ListIndexes represents the listIndexes command.
Namespace encapsulates a database and collection name, which together uniquely identifies a collection within a MongoDB cluster.
QueryFailureError is an error representing a command failure as a document.
ResponseError is an error parsing the response to a command.
Update represents the update command.
# Interfaces
Cursor instances iterate a stream of documents.
CursorBuilder is a type that can build a Cursor.