mongo_go library
MongoDB driver based on the official GO SDK via Dart FFI meant to be used in Dart server-side code.
Classes
- BulkWriteModel
- Interface implemented by models that can be used in a BulkWrite operation. Each WriteModel represents a write.
- BulkWriteOptions
- Represents options that can be used to configure a BulkWrite operation.
- BulkWriteResult
- BulkWriteResult is the result type returned by a BulkWrite operation.
- Collation
- Collation allows users to specify language-specific rules for string comparison, such as rules for lettercase and accent marks.
- Collection
- Represents a handle to a collection. See https://pkg.go.dev/go.mongodb.org/mongo-driver@v1.10.3/mongo#Collection.
- Connection
- Represents a connected client to a database server.
- ConnectionSettings
- Represents options available to connect to the database. This is the primary parameter of the Connection constructor.
- Database
- Represents a handle to a database.
- DeleteManyModel
- DeleteManyModel is used to delete multiple documents in a BulkWrite operation.
- DeleteOneModel
- DeleteOneModel is used to delete at most one document in a BulkWriteOperation.
- DeleteResult
- DeleteResult is the result type returned by DeleteOne and DeleteMany operations.
- IndexOptions
- IndexOptions represents options that can be used to configure a new index created through the IndexView.CreateOne or IndexView.CreateMany operations.
- InsertManyResult
- A result type returned by an InsertMany operation.
- InsertOneModel
- InsertOneModel is used to insert a single document in a BulkWrite operation.
- InsertOneResult
- The result type returned by an InsertOne operation.
- MongoDuplicateKeyError
- an attempt is made to insert a document in violation of the _id key or an unique index
- MongoError
- Represents an error returned by this driver.
- MongoNetworkError
- There was a network error.
- MongoNoDocumentsError
- No document was found and one was required for the operation
- MongoTimeoutError
- A timeout occurred when trying to complete an operation.
- ReplaceOneModel
- ReplaceOneModel is used to replace at most one document in a BulkWrite operation.
- Session
- Represents a MongoDB logical session. Sessions can be used to enable causal consistency for a group of operations or to execute operations in an ACID transaction. A new Session can be created from a Connection instance. A Session created from a Connection must only be used to execute operations using that Connection or a Database or Collection created from that Connection.
- UpdateManyModel
- UpdateManyModel is used to update multiple documents in a BulkWrite operation.
- UpdateOneModel
- UpdateOneModel is used to update at most one document in a BulkWrite operation.
- UpdateResult
- The result type returned from UpdateOne, UpdateMany, and ReplaceOne operations.