The collection name.
The new name of the collection.
If a collection of name target
already exists, drop it before renaming this collection.
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.
As and admin command targets only the admin database, @param db will be ignored.
As and admin command targets only the admin database, @param db will be ignored.
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.
Rename a collection.
(Since version 0.11.0) consider using reactivemongo.api.commands.RenameCollection instead