| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
trait MongoDocumentMeta[BaseDocument]
extends
JsonObjectMeta[BaseDocument] with MongoMeta[BaseDocument]
| _formats.. |
implicit lazy val _formats
|
Formats | MongoMeta |
| collectionName.. |
def collectionName
The name of the database collection
[details]
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.
|
String | MongoMeta |
| count.. |
def count
|
Long | MongoMeta |
| findAll.. |
def findAll
Find all documents in this collection
|
List[BaseDocument] | |
| fixCollectionName.. |
def fixCollectionName
|
String | MongoMeta |
| formats.. |
def formats
|
Formats | MongoMeta |
| mongoIdentifier.. |
def mongoIdentifier
|
MongoIdentifier | MongoMeta |
| !=.. |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| !=.. |
final def !=(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| asInstanceOf.. |
final def asInstanceOf[T0]
|
T0 | Any |
| clone.. |
protected def clone
|
Object | AnyRef |
| count.. |
def count(qry : JObject)
|
Long | MongoMeta |
| create.. |
def create(in : JObject)(implicit formats : Formats)
|
BaseDocument | JsonObjectMeta |
| create.. |
def create(dbo : DBObject)
|
BaseDocument | |
| delete.. |
def delete(qry : DBObject)
|
Unit | MongoMeta |
| delete.. |
def delete(qry : JObject)
|
Unit | MongoMeta |
| delete.. |
def delete(k : String, v : Any)
|
Unit | MongoMeta |
| drop.. |
def drop
|
Unit | MongoMeta |
| ensureIndex.. |
def ensureIndex(keys : JObject)
|
Unit | MongoMeta |
| ensureIndex.. |
def ensureIndex(keys : JObject, opts : JObject)
|
Unit | MongoMeta |
| ensureIndex.. |
def ensureIndex(keys : JObject, unique : Boolean)
|
Unit | MongoMeta |
| eq.. |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals.. |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| finalize.. |
protected def finalize
|
Unit | AnyRef |
| find.. |
def find(json : JObject)
Find a single document by a qry using a json query
|
Option[BaseDocument] | |
| find.. |
def find(s : String)
Find a single document by _id
|
Option[BaseDocument] | |
| find.. |
def find(k : String, v : Any)
Find a single document by a qry using String, Any inputs
|
Option[BaseDocument] | |
| findAll.. |
def findAll(qry : JObject, sort : JObject, opts : FindOption*)
Find all documents using a JObject query with sort
|
List[BaseDocument] | |
| findAll.. |
def findAll(qry : DBObject, sort : DBObject, opts : FindOption*)
Find all documents using a DBObject query with sort
|
List[BaseDocument] | |
| findAll.. |
def findAll(k : String, o : Any, sort : JObject, opts : FindOption*)
Find all documents using a k, v query with JObject sort
|
List[BaseDocument] | |
| findAll.. |
def findAll(qry : JObject, opts : FindOption*)
Find all documents using a JObject query
|
List[BaseDocument] | |
| findAll.. |
def findAll(qry : DBObject, opts : FindOption*)
Find all documents using a DBObject query
|
List[BaseDocument] | |
| findAll.. |
def findAll(k : String, o : Any, opts : FindOption*)
Find all documents using a k, v query
|
List[BaseDocument] | |
| getClass.. |
final def getClass
|
Class[Any] | AnyRef |
| hashCode.. |
def hashCode
|
Int | AnyRef |
| isInstanceOf.. |
final def isInstanceOf[T0]
|
Boolean | Any |
| ne.. |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify.. |
final def notify
|
Unit | AnyRef |
| notifyAll.. |
final def notifyAll
|
Unit | AnyRef |
| save.. |
def save(in : BaseDocument, db : DB)
|
Unit | |
| save.. |
def save(in : BaseDocument)
|
Unit | |
| synchronized.. |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toJObject.. |
def toJObject(in : BaseDocument)(implicit formats : Formats)
|
JObject | JsonObjectMeta |
| toString.. |
def toString
|
String | AnyRef |
| update.. |
def update(qry : JObject, newobj : JObject, db : DB, opts : UpdateOption*)
|
Unit | MongoMeta |
| update.. |
def update(qry : JObject, newbd : BaseDocument, opts : UpdateOption*)
|
Unit | |
| update.. |
def update(qry : DBObject, newobj : DBObject, db : DB, opts : UpdateOption*)
|
Unit | MongoMeta |
| update.. |
def update(qry : JObject, newbd : BaseDocument, db : DB, opts : UpdateOption*)
|
Unit | |
| update.. |
def update(qry : JObject, newobj : JObject, opts : UpdateOption*)
|
Unit | MongoMeta |
| wait.. |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| wait.. |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait.. |
final def wait
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |