c

mongo4m

RichMongoDatabase

final class RichMongoDatabase extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichMongoDatabase
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichMongoDatabase(mongoDb: MongoDatabase)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def collectionNames(): Observable[List[String]]
  6. 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

  7. def createRequiredCollections(collectionNames: Set[String], defaultOptions: CreateCollectionOptions = CreateCollectionOptions()): Observable[String]
  8. 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

  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val mongoDb: MongoDatabase
  12. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped