Namespace Azos.Data.Access.MongoDb.Connector
Classes
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.+ The Azos MongoDB connector is purposely created for specific needs such as using MongoDB as a device yielding 4x-8x better throughput than the official driver. It does not support: Mongo security, sharding and replication
MongoClientAccessor
Accesses Mongo DB default singleton client of the app context
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
Query
Represents a query document sent to MongoDB
ServerNode
Manages connections to the same server
Update
Represents an update document sent to MongoDB
Structs
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
UpdateEntry
Pairs necessary information for updates: query, update documents along with upsert and multi flags
Enums
DeleteLimit
Denotes limits for deletion: None=Everything or One
WriteConcern
Defines data safety modes http://docs.mongodb.org/manual/core/write-concern/