The collection name.
The collection to be created will be a capped collection if some CappedOptions instance is supplied.
States if should automatically add an index on the _id field. By default, regular collections will have an indexed _id field, in contrast to capped collections.
Deserializer for this command's result.
Deserializer for this command's result.
Produces a reactivemongo.core.commands.MakableCommand instance of this command.
Produces a reactivemongo.core.commands.MakableCommand instance of this command.
name of the target database.
Makes the BSONDocument
for documents that will be send as body of this command's query.
Makes the BSONDocument
for documents that will be send as body of this command's query.
States if this command can be run on secondaries.
States if this command can be run on secondaries.
Creates a collection on the database.
Unless you want to give some extra parameters (like capped collections, or autoIndexId), it is not necessary as MongoDB creates regular collections on the fly.
(Since version 0.11.0) consider using reactivemongo.api.commands.Create instead