Use the collection associated with this Meta.
Use the db associated with this Meta.
(Since version 3.4.3) Use useCollection instead
(Since version 3.4.3) Use useDatabase instead
The name of the database collection.
The name of the database collection. Override this method if you want to change the collection to something other than the name of the class with an 's' appended to the end.
Count documents by JObject query
Count documents by Bson query
Count all documents
Count distinct records on a given field.
Count distinct records on a given field.
**Warning:** This retrieves all matching documents and puts them in memory.
Delete many documents by a JObject query with the given DeleteOptions
Delete many documents by a JObject query
Delete many documents by a Bson query with the given DeleteOptions
Delete many documents by a Bson query
Delete a single document by a key-value pair query
Delete a single document by a JObject query with the given DeleteOptions
Delete a single document by a JObject query
Delete a single document by a Bson query with the given DeleteOptions
Delete a single document by a Bson query
Collection names should begin with letters or an underscore and may include numbers; $ is reserved.
Collection names should begin with letters or an underscore and may include numbers; $ is reserved. Collections can be organized in namespaces; these are named groups of collections defined using a dot notation. For example, you could define collections blog.posts and blog.authors, both reside under "blog". Note that this is simply an organizational mechanism for the user -- the collection namespace is flat from the database's perspective. From: http://www.mongodb.org/display/DOCS/Collections
Update many documents with a JObject query with the given UpdateOptions
Update many documents with a JObject query
Update many documents with a Bson query with the given UpdateOptions
Update many documents with a Bson query
Update a single document with a JObject query with the given UpdateOptions
Update a single document with a JObject query
Update a single document with a Bson query with the given UpdateOptions
Update a single document with a Bson query
This will be used if set to Some, otherwise the WriteConcern set in MongoClientOptions will be used.
This will be used if set to Some, otherwise the WriteConcern set in MongoClientOptions will be used. Used by useCollection and useDatabase.
(Since version 3.4.3) Use createIndex that takes IndexOptions as argument instead
Delete documents by a JObject query
Delete documents by a JObject query
(Since version 3.4.3) Use deleteOne or deleteMany instead
(Since version 3.4.3) Use deleteOne or deleteMany instead
Delete documents by a DBObject query
Delete documents by a DBObject query
(Since version 3.4.3) Use deleteOne or deleteMany instead
(Since version 3.4.3) Use updateOne or updateMany instead
(Since version 3.4.3) Use updateOne or updateMany instead
(Since version 3.4.3) Use updateOne or updateMany instead
This is used by both MongoDocumentMeta and MongoMetaRecord