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.
Override this to specify a ConnectionIdentifier.
Override this to specify a ConnectionIdentifier.
Count documents by JObject query
Count documents by JObject query
Count documents by Bson query
Count documents by Bson query
Count all documents
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 with the given DeleteOptions
Delete many documents by a JObject query
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 with the given DeleteOptions
Delete many documents by a Bson query
Delete many documents by a Bson query
Delete a single document by a key-value pair 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 with the given DeleteOptions
Delete a single document by a JObject query
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 with the given DeleteOptions
Delete a single document by a Bson query
Delete a single document by a Bson query
Find a single document by a qry using a json query
Find a single document by a qry using String, Any inputs
Find a single document by _id using a UUID.
Find a single document by _id using an ObjectId.
Find a single document by _id using a String.
Find a single row by a qry, using a Bson.
Find all documents using a k, v query with JObject sort
Find all documents using a k, v query
Find all documents using a JObject query with sort
Find all documents using a JObject query
Find all documents using a Bson query with sort
Find all documents using a Bson query.
Find all documents using a Bson query.
Find all documents in this collection
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
Save a document to the db
Update many documents with a JObject query with the given UpdateOptions
Update many documents with a JObject query with the given UpdateOptions
Update many documents with a JObject query
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 with the given UpdateOptions
Update many documents with a Bson query
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 with the given UpdateOptions
Update a single document with a JObject query
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 with the given UpdateOptions
Update a single document with a Bson query
Update a single document with a Bson query
Use the collection associated with this Meta.
Use the collection associated with this Meta.
Use the db associated with this Meta.
Use the db associated with this Meta.
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 save instead
(Since version 3.4.3) Use updateOne, updateMany, or replaceOne instead
(Since version 3.4.3) Use updateOne, updateMany, or replaceOne 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
(Since version 3.4.3) Use useCollection instead
(Since version 3.4.3) Use useDatabase instead
extend case class companion objects with this trait