class MongoDatabase extends AnyRef
- Source
- MongoDatabase.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoDatabase
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def collection[A](name: String): MongoCollection[A]
- def collectionNames(): Iterator[String]
- def collections(): Iterator[CollectionInfo]
-
def
createCollection[A](name: String): MongoCollection[A]
Creates a new collection with the specified name.
-
def
createCollectionWith[A](name: String)(options: CreateCollectionOpts): MongoCollection[A]
Creates a new collection with the specified name, using the specified options.
- def createView[I, A](name: String, on: String, pipeline: I*)(implicit arg0: BsonDocumentEncoder[I]): MongoCollection[A]
- def createViewWith[I, A](name: String, on: String, pipeline: I*)(options: CreateViewOpts)(implicit arg0: BsonDocumentEncoder[I]): MongoCollection[A]
- def drop(): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def readConcern: ReadConcern
- def readPreference: ReadPreference
- def runCommand[I, O](command: I)(implicit arg0: BsonDocumentEncoder[I], arg1: BsonDocumentDecoder[O]): DecodeResult[O]
- def runCommandWith[I, O](command: I)(p: ReadPreference)(implicit arg0: BsonDocumentEncoder[I], arg1: BsonDocumentDecoder[O]): DecodeResult[O]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- MongoDatabase → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withReadConcern(concern: ReadConcern): MongoDatabase
- def withReadPreference(pref: ReadPreference): MongoDatabase
- def withWriteConcern(concern: WriteConcern): MongoDatabase
- def writeConcern: WriteConcern