(Since version 0.16.0) Internal: will be made private
(Since version 0.16.0) Internal: will be made private
Returns a command runner.
Returns a command runner.
the serialization pack
the failover strategy
import reactivemongo.api.FailoverStrategy import reactivemongo.api.commands.Command import reactivemongo.api.bson.BSONDocument import reactivemongo.api.bson.collection.BSONSerializationPack val runner = Command.run(BSONSerializationPack, FailoverStrategy.default) val cmd: runner.RawCommand = runner.rawCommand(BSONDocument(f"$$count" -> "coll")) def foo(db: reactivemongo.api.DefaultDB) = runner(db, cmd)
(Since version 0.16.0) Internal: will be made private