net.liftweb.mongodb

MongoDocumentMeta

trait MongoDocumentMeta[BaseDocument] extends JsonObjectMeta[BaseDocument] with MongoMeta[BaseDocument]

Linear Supertypes
MongoMeta[BaseDocument], JsonFormats, JsonObjectMeta[BaseDocument], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoDocumentMeta
  2. MongoMeta
  3. JsonFormats
  4. JsonObjectMeta
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit lazy val _formats: Formats

    Definition Classes
    JsonFormats
  7. lazy val allFormats: Formats

    Definition Classes
    JsonFormats
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def collectionName: String

    The name of the database collection.

    The name of the database collection. Override this method if you want to change the collection to something other than the name of the class with an 's' appended to the end.

    Definition Classes
    MongoMeta
  11. def connectionIdentifier: ConnectionIdentifier

    Override this to specify a ConnectionIdentifier.

    Override this to specify a ConnectionIdentifier.

    Definition Classes
    MongoDocumentMetaMongoMeta
  12. def count(qry: JObject): Long

    Definition Classes
    MongoMeta
  13. def count(qry: DBObject): Long

    Definition Classes
    MongoMeta
  14. def count: Long

    Definition Classes
    MongoMeta
  15. def countDistinct(key: String, query: DBObject): Long

    Definition Classes
    MongoMeta
  16. def create(dbo: DBObject): BaseDocument

  17. def create(in: JObject)(implicit formats: Formats): BaseDocument

    Definition Classes
    JsonObjectMeta
  18. def createIndex(keys: JObject, opts: JObject): Unit

    Definition Classes
    MongoMeta
  19. def createIndex(keys: JObject, unique: Boolean = false): Unit

    Definition Classes
    MongoMeta
  20. def delete(qry: JObject): Unit

    Definition Classes
    MongoMeta
  21. def delete(k: String, v: Any): Unit

    Definition Classes
    MongoMeta
  22. def delete(qry: DBObject): Unit

    Definition Classes
    MongoMeta
  23. def drop: Unit

    Definition Classes
    MongoMeta
  24. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  26. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. def find(json: JObject): Option[BaseDocument]

    Find a single document by a qry using a json query

  28. def find(k: String, v: Any): Option[BaseDocument]

    Find a single document by a qry using String, Any inputs

  29. def find(uuid: UUID): Option[BaseDocument]

    Find a single document by _id using a UUID.

  30. def find(oid: ObjectId): Option[BaseDocument]

    Find a single document by _id using an ObjectId.

  31. def find(s: String): Option[BaseDocument]

    Find a single document by _id using a String.

  32. def find(qry: DBObject): Option[BaseDocument]

    Find a single row by a qry, using a DBObject.

  33. def findAll(k: String, o: Any, sort: JObject, opts: FindOption*): List[BaseDocument]

    Find all documents using a k, v query with JObject sort

  34. def findAll(k: String, o: Any, opts: FindOption*): List[BaseDocument]

    Find all documents using a k, v query

  35. def findAll(qry: JObject, sort: JObject, opts: FindOption*): List[BaseDocument]

    Find all documents using a JObject query with sort

  36. def findAll(qry: JObject, opts: FindOption*): List[BaseDocument]

    Find all documents using a JObject query

  37. def findAll(qry: DBObject, sort: DBObject, opts: FindOption*): List[BaseDocument]

    Find all documents using a DBObject query with sort

  38. def findAll(qry: DBObject, opts: FindOption*): List[BaseDocument]

    Find all documents using a DBObject query.

  39. def findAll(qry: DBObject, sort: Option[DBObject], opts: FindOption*): List[BaseDocument]

    Find all documents using a DBObject query.

  40. def findAll: List[BaseDocument]

    Find all documents in this collection

  41. def fixCollectionName: String

    Definition Classes
    MongoMeta
  42. def formats: Formats

    Definition Classes
    JsonFormats
  43. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  44. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  45. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  46. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  47. final def notify(): Unit

    Definition Classes
    AnyRef
  48. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  49. def save(in: BaseDocument, db: DB): Unit

  50. def save(in: BaseDocument): Unit

  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  52. def toJObject(in: BaseDocument)(implicit formats: Formats): JObject

    Definition Classes
    JsonObjectMeta
  53. def toString(): String

    Definition Classes
    AnyRef → Any
  54. def update(qry: JObject, newbd: BaseDocument, opts: UpdateOption*): Unit

  55. def update(qry: JObject, newbd: BaseDocument, db: DB, opts: UpdateOption*): Unit

  56. def update(qry: JObject, newobj: JObject, opts: UpdateOption*): Unit

    Definition Classes
    MongoMeta
  57. def update(qry: JObject, newobj: JObject, db: DB, opts: UpdateOption*): Unit

    Definition Classes
    MongoMeta
  58. def update(qry: DBObject, newobj: DBObject, db: DB, opts: UpdateOption*): Unit

    Definition Classes
    MongoMeta
  59. def useColl[T](f: (DBCollection) ⇒ T): T

    Definition Classes
    MongoDocumentMetaMongoMeta
  60. def useDb[T](f: (DB) ⇒ T): T

    Definition Classes
    MongoDocumentMetaMongoMeta
  61. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def ensureIndex(keys: JObject, opts: JObject): Unit

    Definition Classes
    MongoMeta
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) use createIndex(JObject, JObject) instead.

  2. def ensureIndex(keys: JObject, unique: Boolean): Unit

    Definition Classes
    MongoMeta
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) use createIndex(JObject, Boolean) instead.

  3. def ensureIndex(keys: JObject): Unit

    Definition Classes
    MongoMeta
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) use createIndex(JObject) instead.

  4. def mongoIdentifier: MongoIdentifier

    Definition Classes
    MongoMeta
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6) use connectionIdentifier instead

Inherited from MongoMeta[BaseDocument]

Inherited from JsonFormats

Inherited from JsonObjectMeta[BaseDocument]

Inherited from AnyRef

Inherited from Any

Ungrouped