final class RichMongoDatabase extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RichMongoDatabase
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RichMongoDatabase(mongoDb: MongoDatabase)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def collectionNames(): Observable[List[String]]
- def createRequiredCollections(requiredCollectionOptionsByName: Map[String, CreateCollectionOptions]): Observable[String]
creates the given map of collections.
creates the given map of collections. If the collection already exists, then happy days -- the 'create options' part is only used should a collection not already exist.
- requiredCollectionOptionsByName
the collections expected together with the 'create' options should they need to be created
- returns
the collections which were created by calling this function
- def createRequiredCollections(collectionNames: Set[String], defaultOptions: CreateCollectionOptions = CreateCollectionOptions()): Observable[String]
- def ensureCreated(config: CollectionSettings): Task[MongoCollection[Document]]
Ensure the collection configurable by the CollectionSettings is created
Ensure the collection configurable by the CollectionSettings is created
- returns
a future of the collection
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mongoDb: MongoDatabase
- def toString(): String
- Definition Classes
- Any