A Collection that provides default methods using a Structure
(like reactivemongo.bson.BSONDocument, or a Json document, etc.).
A builder that helps to make a fine-tuned query to MongoDB.
A builder that helps to make a fine-tuned query to MongoDB.
When the query is ready, you can call cursor
to get a Cursor, or one
if you want to retrieve just one document.
A Collection that provides default methods using a
Structure
(like reactivemongo.bson.BSONDocument, or a Json document, etc.).Some methods of this collection accept instances of
Reader[T]
andWriter[T]
, that transform anyT
instance into aStructure
and vice-versa. The default implementation of Collection, reactivemongo.api.collections.default.BSONCollection, extends this trait.