- Companion
- object
class Object
trait Matchable
class Any
Value members
Abstract methods
Drops this database. https://docs.mongodb.com/manual/reference/method/db.dropDatabase/
Drops this database. https://docs.mongodb.com/manual/reference/method/db.dropDatabase/
Drops this database.
Drops this database.
- Value Params
- clientSession
the client session with which to associate this operation https://docs.mongodb.com/manual/reference/method/db.dropDatabase/
- Since
1.7
def getCollection[T](name: String, codecRegistry: CodecRegistry)(implicit evidence$8: ClassTag[T]): F[MongoCollection[F, T]]
def runCommandWithCodec[T](session: ClientSession[F], command: Bson, readPreference: ReadPreference)(implicit evidence$10: ClassTag[T], evidence$11: MongoCodecProvider[T]): F[T]
Executes command in the context of the current database.
Executes command in the context of the current database.
- Value Params
- command
the command to be run
- readPreference
the ReadPreference to be used when executing the command
- session
the client session with which to associate this operation
- Since
1.7
def runCommandWithCodec[T](command: Bson, readPreference: ReadPreference)(implicit evidence$14: ClassTag[T], evidence$15: MongoCodecProvider[T]): F[T]
Concrete methods
def getCollectionWithCodec[T](name: String)(implicit evidence$9: ClassTag[T], cp: MongoCodecProvider[T]): F[MongoCollection[F, T]]
def listCollectionsWithCodec[T](implicit evidence$4: ClassTag[T], evidence$5: MongoCodecProvider[T]): F[Iterable[T]]
def listCollectionsWithCodec[T](session: ClientSession[F])(implicit evidence$6: ClassTag[T], evidence$7: MongoCodecProvider[T]): F[Iterable[T]]
def runCommand(session: ClientSession[F], command: Bson, readPreference: ReadPreference): F[Document]
def runCommandWithCodec[T](session: ClientSession[F], command: Bson)(implicit evidence$12: ClassTag[T], evidence$13: MongoCodecProvider[T]): F[T]
def runCommandWithCodec[T](command: Bson)(implicit evidence$16: ClassTag[T], evidence$17: MongoCodecProvider[T]): F[T]
def withAddedCodec[T](implicit evidence$1: ClassTag[T], cp: MongoCodecProvider[T]): MongoDatabase[F]