# Functions
Aggregate returns a pointer to a new AggregateOptions.
BulkWrite creates a new *BulkWriteOptions.
ChangeStream returns a pointer to a new ChangeStreamOptions.
Client creates a new ClientOptions instance.
Collection creates a new CollectionOptions instance.
Count returns a pointer to a new CountOptions.
CreateIndexes creates a new CreateIndexesOptions instance.
Database creates a new DatabaseOptions instance.
Delete returns a pointer to a new DeleteOptions.
Distinct returns a pointer to a new DistinctOptions.
DropIndexes creates a new DropIndexesOptions instance.
EstimatedDocumentCount returns a pointer to a new EstimatedDocumentCountOptions.
Find creates a new FindOptions instance.
FindOne creates a new FindOneOptions instance.
FindOneAndDelete creates a new FindOneAndDeleteOptions instance.
FindOneAndReplace creates a new FindOneAndReplaceOptions instance.
FindOneAndUpdate creates a new FindOneAndUpdateOptions instance.
GridFSBucket creates a new *BucketOptions.
GridFSFind creates a new GridFSFindOptions instance.
GridFSName creates a new *NameOptions.
GridFSUpload creates a new *UploadOptions.
Index creates a new *IndexOptions.
InsertMany returns a pointer to a new InsertManyOptions.
InsertOne returns a pointer to a new InsertOneOptions.
ListCollections creates a new *ListCollectionsOptions.
ListDatabases creates a new *ListDatabasesOptions.
ListIndexes creates a new ListIndexesOptions instance.
MergeAggregateOptions combines the argued AggregateOptions into a single AggregateOptions in a last-one-wins fashion.
MergeBucketOptions combines the given *BucketOptions into a single *BucketOptions.
MergeBulkWriteOptions combines the given *BulkWriteOptions into a single *BulkWriteOptions in a last one wins fashion.
MergeChangeStreamOptions combines the argued ChangeStreamOptions into a single ChangeStreamOptions in a last-one-wins fashion.
MergeClientOptions combines the given connstring and *ClientOptions into a single *ClientOptions in a last one wins fashion.
MergeCollectionOptions combines the *CollectionOptions arguments into a single *CollectionOptions in a last one wins fashion.
MergeCountOptions combines the argued CountOptions into a single CountOptions in a last-one-wins fashion.
MergeCreateIndexesOptions combines the given *CreateIndexesOptions into a single *CreateIndexesOptions in a last one wins fashion.
MergeDatabaseOptions combines the *DatabaseOptions arguments into a single *DatabaseOptions in a last one wins fashion.
MergeDeleteOptions combines the argued DeleteOptions into a single DeleteOptions in a last-one-wins fashion.
MergeDistinctOptions combines the argued DistinctOptions into a single DistinctOptions in a last-one-wins fashion.
MergeDropIndexesOptions combines the given *DropIndexesOptions into a single *DropIndexesOptions in a last one wins fashion.
MergeEstimatedDocumentCountOptions combines the given *EstimatedDocumentCountOptions into a single *EstimatedDocumentCountOptions in a last one wins fashion.
MergeFindOneAndDeleteOptions combines the argued FindOneAndDeleteOptions into a single FindOneAndDeleteOptions in a last-one-wins fashion.
MergeFindOneAndReplaceOptions combines the argued FindOneAndReplaceOptions into a single FindOneAndReplaceOptions in a last-one-wins fashion.
MergeFindOneAndUpdateOptions combines the argued FindOneAndUpdateOptions into a single FindOneAndUpdateOptions in a last-one-wins fashion.
MergeFindOneOptions combines the argued FindOneOptions into a single FindOneOptions in a last-one-wins fashion.
MergeFindOptions combines the argued FindOptions into a single FindOptions in a last-one-wins fashion.
MergeGridFSFindOptions combines the argued GridFSFindOptions into a single GridFSFindOptions in a last-one-wins fashion.
MergeIndexOptions combines the given *IndexOptions into a single *IndexOptions in a last one wins fashion.
MergeInsertManyOptions combines the argued InsertManyOptions into a single InsertManyOptions in a last-one-wins fashion.
MergeInsertOneOptions combines the argued InsertOneOptions into a single InsertOneOptions in a last-one-wins fashion.
MergeListCollectionsOptions combines the given *ListCollectionsOptions into a single *ListCollectionsOptions in a last one wins fashion.
MergeListDatabasesOptions combines the given *ListDatabasesOptions into a single *ListDatabasesOptions in a last one wins fashion.
MergeListIndexesOptions combines the given *ListIndexesOptions into a single *ListIndexesOptions in a last one wins fashion.
MergeNameOptions combines the given *NameOptions into a single *NameOptions in a last one wins fashion.
MergeReplaceOptions combines the argued ReplaceOptions into a single ReplaceOptions in a last-one-wins fashion.
MergeRunCmdOptions combines the given *RunCmdOptions into one *RunCmdOptions in a last one wins fashion.
MergeSessionOptions combines the given *SessionOptions into a single *SessionOptions in a last one wins fashion.
MergeTransactionOptions combines the given *TransactionOptions into a single *TransactionOptions in a last one wins fashion.
MergeUpdateOptions combines the argued UpdateOptions into a single UpdateOptions in a last-one-wins fashion.
MergeUploadOptions combines the given *UploadOptions into a single *UploadOptions.
Replace returns a pointer to a new ReplaceOptions.
RunCmd creates a new *RunCmdOptions.
Session creates a new *SessionOptions.
Transaction creates a new *TransactionOptions.
Update returns a pointer to a new UpdateOptions.
# Constants
After specifies that findAndUpdate should return the document as it is after the update.
Before specifies that findAndUpdate should return the document as it was before the update.
Default does not include a document copy.
NonTailable specifies that a cursor should close after retrieving the last data.
Tailable specifies that a cursor should not close when the last data is retrieved and can be resumed later.
TailableAwait specifies that a cursor should not close when the last data is retrieved and that it should block for a certain amount of time for new data before returning no data.
UpdateLookup includes a delta describing the changes to the document and a copy of the entire document that was changed.
# Variables
DefaultCausalConsistency is the default value for the CausalConsistency option.
DefaultChunkSize is the default size of each file chunk in bytes.
DefaultName is the default name for a GridFS bucket.
DefaultOrdered is the default order for a BulkWriteOptions struct created from BulkWrite.
DefaultRevision is the default revision number for a download by name operation.
# Structs
AggregateOptions represents all possible options to the aggregate() function.
ArrayFilters is used to hold filters for the array filters CRUD option.
BucketOptions represents all possible options to configure a GridFS bucket.
BulkWriteOptions represent all possible options for a bulkWrite operation.
ChangeStreamOptions represents all possible options to a change stream.
ClientOptions represents all possbile options to configure a client.
Collation allows users to specify language-specific rules for string comparison, such as rules for lettercase and accent marks.
CollectionOptions represent all possible options to configure a Collection.
CountOptions represents all possible options to the count() function.
CreateIndexesOptions represents all possible options for the create() function.
Credential holds auth options.
DatabaseOptions represent all possible options to configure a Database.
DeleteOptions represents all possible options to the deleteOne() and deleteMany() functions.
DistinctOptions represents all possible options to the distinct() function.
DropIndexesOptions represents all possible options for the create() function.
EstimatedDocumentCountOptions represents all possible options to the estimatedDocumentCount() function.
FindOneAndDeleteOptions represent all possible options to the findOne() function.
FindOneAndReplaceOptions represent all possible options to the findOne() function.
FindOneAndUpdateOptions represent all possible options to the findOne() function.
FindOneOptions represent all possible options to the findOne() function.
FindOptions represent all possible options to the find() function.
GridFSFindOptions represents all options for a GridFS find operation.
IndexOptions represents all possible options to configure a new index.
InsertManyOptions represents all possible options to the insertMany().
InsertOneOptions represents all possible options to the insertOne().
ListCollectionsOptions represents all possible options for a listCollections command.
ListDatabasesOptions represents all possible options for a listDatabases command.
ListIndexesOptions represents all possible options for the create() function.
MarshalError is returned when attempting to transform a value into a document results in an error.
NameOptions represents all options that can be used for a GridFS download by name operation.
ReplaceOptions represents all possible options to the replaceOne() function.
RunCmdOptions represents all possible options for a runCommand operation.
SessionOptions represents all possible options for creating a new session.
SSLOpt holds client SSL options.
TransactionOptions represents all possible options for starting a transaction.
UpdateOptions represents all possible options to the updateOne() and updateMany() functions.
UploadOptions represents all possible options for a GridFS upload operation.
# Interfaces
ContextDialer makes new network connections.
# Type aliases
CursorType specifies whether a cursor should close when the last data is retrieved.
FullDocument specifies whether a change stream should include a copy of the entire document that was changed from some time after the change occurred.
ReturnDocument specifies whether a findAndUpdate operation should return the document as it was before the update or as it is after the update.