GenericMongoDatabase
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 parameters:
- 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 : ClassTag](name: String, codecRegistry: CodecRegistry): F[GenericMongoCollection[F, T, S]]
Executes command in the context of the current database.
Executes command in the context of the current database.
- Value parameters:
- command
the command to be run
- readPreference
the ReadPreference to be used when executing the command
- Since:
1.7
def runCommand(session: ClientSession[F], command: Bson, readPreference: ReadPreference): F[Document]
Concrete methods
def getCollectionWithCodec[T : ClassTag](name: String)(implicit evidence$3: ClassTag[T], cp: MongoCodecProvider[T]): F[GenericMongoCollection[F, T, S]]
def withAddedCodec[T : ClassTag](implicit evidence$1: ClassTag[T], cp: MongoCodecProvider[T]): GenericMongoDatabase[F, S]