abstract class GenericMongoDatabase[F[_], S[_]] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GenericMongoDatabase
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new GenericMongoDatabase()
Abstract Value Members
- abstract def createCollection(name: String, options: CreateCollectionOptions): F[Unit]
-
abstract
def
drop(clientSession: ClientSession[F]): F[Unit]
Drops this database.
Drops this database.
- clientSession
the client session with which to associate this operation https://docs.mongodb.com/manual/reference/method/db.dropDatabase/
- Since
1.7
-
abstract
def
drop: F[Unit]
Drops this database.
Drops this database. https://docs.mongodb.com/manual/reference/method/db.dropDatabase/
- abstract def getCollection[T](name: String, codecRegistry: CodecRegistry)(implicit arg0: ClassTag[T]): F[GenericMongoCollection[F, T, S]]
- abstract def listCollectionNames(session: ClientSession[F]): F[Iterable[String]]
- abstract def listCollectionNames: F[Iterable[String]]
- abstract def listCollections(session: ClientSession[F]): F[Iterable[Document]]
- abstract def listCollections: F[Iterable[Document]]
- abstract def runCommand(session: ClientSession[F], command: Bson, readPreference: ReadPreference): F[Document]
-
abstract
def
runCommand(command: Bson, readPreference: ReadPreference): F[Document]
Executes command in the context of the current database.
Executes command in the context of the current database.
- command
the command to be run
- readPreference
the ReadPreference to be used when executing the command
- Since
1.7
- abstract def underlying: MongoDatabase
- abstract def withAddedCodec(codecRegistry: CodecRegistry): GenericMongoDatabase[F, S]
- abstract def withReadConcern(readConcern: ReadConcern): GenericMongoDatabase[F, S]
- abstract def withReadPreference(readPreference: ReadPreference): GenericMongoDatabase[F, S]
- abstract def withWriteConcern(writeConcert: WriteConcern): GenericMongoDatabase[F, S]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def codecs: CodecRegistry
- def createCollection(name: String): F[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getCollection(name: String): F[GenericMongoCollection[F, Document, S]]
- def getCollectionWithCodec[T](name: String)(implicit arg0: ClassTag[T], cp: MongoCodecProvider[T]): F[GenericMongoCollection[F, T, S]]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def readConcern: ReadConcern
- def readPreference: ReadPreference
- def runCommand(session: ClientSession[F], command: Bson): F[Document]
- def runCommand(command: Bson): F[Document]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withAddedCodec[T](implicit arg0: ClassTag[T], cp: MongoCodecProvider[T]): GenericMongoDatabase[F, S]
- def writeConcern: WriteConcern
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated