Module qafetch

Module qafetch 

Source

Macros§

doc
Construct a bson::Document value.

Structs§

Client
This is the main entry point for the synchronous API. A Client is used to connect to a MongoDB cluster. By default, it will monitor the topology of the cluster, keeping track of any changes, such as servers being added or removed.
ClientOptions
Contains the options that can be used to create a new Client.
Collection
Collection is the client-side abstraction of a MongoDB Collection. It can be used to perform collection-level operations such as CRUD operations. A Collection can be obtained through a Database by calling either Database::collection or Database::collection_with_options.
Cursor
A Cursor streams the result of a query. When a query is made, a Cursor will be returned with the first batch of results from the server; the documents will be returned as the Cursor is iterated. When the batch is exhausted and if there are more results, the Cursor will fetch the next batch of documents, and so forth until the results are exhausted. Note that because of this batching, additional network I/O may occur on any given call to Cursor::next. Because of this, a Cursor iterates over Result<Document> items rather than simply Document items.
Database
Database is the client-side abstraction of a MongoDB database. It can be used to perform database-level operations or to obtain handles to specific collections within the database. A Database can only be obtained through a Client by calling either Client::database or Client::database_with_options.
DeleteOptions
Specifies the options to a Collection::delete_one or Collection::delete_many operation.
DeleteResult
The result of a Collection::delete_one or Collection::delete_many operation.
Document
A BSON document represented as an associative HashMap with insertion ordering.
FindOneOptions
Specifies the options to a Collection::find_one operation.
FindOptions
Specifies the options to a Collection::find operation.
InsertManyResult
The result of a Collection::insert_many operation.
InsertOneOptions
Specifies the options to a Collection::insert_one operation.
InsertOneResult
The result of a Collection::insert_one operation.
QAMongoClient
UpdateOptions
Specifies the options to a Collection::update_one or Collection::update_many operation.
UpdateResult
The result of a Collection::update_one or Collection::update_many operation.

Enums§

Bson
Possible BSON value types.
UpdateModifications
Enum modeling the modifications to apply during an update. For details, see the official MongoDB documentation

Type Aliases§

Result
The result type for all methods that can return an error in the mongodb crate.