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. Hide All
  2. Show all
  1. MongoDocumentMeta
  2. MongoMeta
  3. JsonFormats
  4. JsonObjectMeta
  5. AnyRef
  6. Any
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[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 count(qry: JObject): Long

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

    Definition Classes
    MongoMeta
  13. def count: Long

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

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

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

    Definition Classes
    JsonObjectMeta
  17. def delete(qry: JObject): Unit

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

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

    Definition Classes
    MongoMeta
  20. def drop: Unit

    Definition Classes
    MongoMeta
  21. def ensureIndex(keys: JObject, opts: JObject): Unit

    Definition Classes
    MongoMeta
  22. def ensureIndex(keys: JObject, unique: Boolean): Unit

    Definition Classes
    MongoMeta
  23. def ensureIndex(keys: JObject): 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  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(): java.lang.Class[_]

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

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

    Definition Classes
    Any
  46. def mongoIdentifier: MongoIdentifier

    Definition Classes
    MongoMeta
  47. final def ne(arg0: AnyRef): Boolean

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

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

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

  51. def save(in: BaseDocument): Unit

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

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

    Definition Classes
    JsonObjectMeta
  54. def toString(): String

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

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

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

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

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

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

    Definition Classes
    MongoMeta
  61. def useDb[T](f: (DB) ⇒ T): T

    Definition Classes
    MongoMeta
  62. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MongoMeta[BaseDocument]

Inherited from JsonFormats

Inherited from JsonObjectMeta[BaseDocument]

Inherited from AnyRef

Inherited from Any