[This is preliminary documentation and is subject to change.]
Classes
Class | Description | |
---|---|---|
![]() | Collection |
Represents MongoDB collections which allows to execute queries and perform CRUD operations
|
![]() | Connection |
Represent a connection to MongoDB server. Normally developers should not work with this class directly
as connections are managed by the Client.
This class is not thread safe and must be Acquired first before sending data
|
![]() | Cursor |
Represents a UNIDIRECTIONAL SINGLE-pass (no buffering) cursor returned by the Find(query) command.
The cursor needs to be closed by calling Dispose() if the eof has not been reached OR
it will auto-close on EOF. The cursor may be enumerated only once. It is NOT thread-safe
|
![]() | Database |
Represents an instance of MongoDB database
|
![]() | MongoClient |
The central facade for working with MongoDB. The technology was tested against Mongo DB 3.0.6.
The NFX MongoDB connector is purposely created for specific needs. It does not support: Mongo security, sharding and replication
|
![]() | MongoDBConnectorException |
Thrown by MongoDB data access classes
|
![]() | MongoDBConnectorProtocolException |
Thrown by MongoDB data access classes related to protocol
|
![]() | MongoDBConnectorServerException |
Thrown by MongoDB data access classes related to server errors
|
![]() | MongoDBQueryException |
Thrown in case of query compile error
|
![]() | Protocol |
This class uses static methods on purpose to avoid allocations
|
![]() | Query |
Represents a query document sent to MongoDB
|
![]() | ServerNode |
Manages connections to the same server
|
![]() | Update |
Represents an update document sent to MongoDB
|
Structures
Structure | Description | |
---|---|---|
![]() | CRUDResult |
Returned by CRUD operations from the server, contains information about total docs affected and write errors.
The caller needs to inspect the TotalDocumentsAffected and WriteErrors to handle error conditions
|
![]() | CRUDUpsertInfo |
Provides information about an upserted document
|
![]() | CRUDWriteError |
Provides information about document write error
|
![]() | DeleteEntry |
Pairs necessary information for deletes: query + limit flag
|
![]() | Protocol ReplyData | |
![]() | UpdateEntry |
Pairs necessary information for updates: query, update documents along with upsert and multi flags
|
Enumerations
Enumeration | Description | |
---|---|---|
![]() | DeleteLimit |
Denotes limits for deletion: None=Everything or One
|
![]() | Protocol QueryFlags | |
![]() | Protocol ResponseFlags | |
![]() | WriteConcern |
Defines data safety modes http://docs.mongodb.org/manual/core/write-concern/
|