trait Command[Result] extends AnyRef

A MongoDB Command.

Basically, it's as query that is performed on any db.$cmd collection and gives back one document as a result.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Command
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract val ResultMaker: CommandResultMaker[Result]

    Deserializer for this command's result.

  2. abstract def makeDocuments: BSONDocument

    Makes the BSONDocument for documents that will be send as body of this command's query.

Concrete Value Members

  1. def apply(db: String): MakableCommand

    Produces a reactivemongo.core.commands.MakableCommand instance of this command.

    Produces a reactivemongo.core.commands.MakableCommand instance of this command.

    db

    name of the target database.

  2. def slaveOk: Boolean

    States if this command can be run on secondaries.