Count the number of documents matching the search criteria.
Count the number of documents matching the search criteria.
object for which to search
list of field keys that must exist
list of field keys that must not exist
count of documents matching the search criteria
In the absence of a specified write concern, supplies a default write concern.
In the absence of a specified write concern, supplies a default write concern.
default write concern to use for insert, update, save and remove operations
type view bound to DBObject
type view bound to DBObject
object for which to search
fields to return
a typed cursor to iterate over results
Queries for an object in this collection.
Queries for an object in this collection.
type view bound to DBObject
object for which to search
a typed cursor to iterate over results
(Iterator[ObjectType]) iterable result cursor of everything in the collection
type view bound to DBObject
object for which to search
(Option[ObjectType]) Some() of the object found, or None
if no such object exists
identifier
(Option[ObjectType]) Some() of the object found, or None
if no such object exists
string representing a valid JSON object
JSON deserialized to a model object
JObject
to be deserialized
JObject
deserialized to a model object
string representing a JSON array of valid JObject
s
deserialized list of model objects
JSON array of valid JObject
s
deserialized list of model objects
a map populated with the field names and values of the model object
model object instance
type view bound to DBObject
query
list of IDs
instance of ObjectType
write concern
if insert succeeds, ID of inserted object
collection of ObjectType
instances to insert
write concern
list of object ids TODO: flatten list of IDs - why on earth didn't I do that in the first place?
Inserts a group of documents into the database.
Inserts a group of documents into the database.
variable length argument of ObjectType instances
if write concern succeeds, a list of object IDs TODO: this implicit: dumbest design decision on the face of the planet? TODO: replace vararg with traversable TODO: flatten list of IDs - why on earth didn't I do that in the first place?
Inserts a document into the database.
Inserts a document into the database.
instance of ObjectType
if insert succeeds, ID of inserted object
type of projected field
object for which to search
field to project on
implicit manifest typed to P
implicit Context
(Option[P]) Some() of the object found, or None
if no such object exists
type of projected field
object for which to search
field to project on
implicit manifest typed to P
implicit Context
(List[P]) of the objects found
type of projected field
object for which to search
field to project on
implicit manifest typed to P
implicit Context
(Option[P]) Some() of the object found, or None
if no such object exists
type of projected field
object for which to search
field to project on
implicit manifest typed to P
implicit Context
(List[P]) of the objects found
the object that documents to be removed must match
write concern
(WriteResult) result of write operation
object to remove from the collection
write concern
(WriteResult) result of write operation
Removes objects from the database collection.
Removes objects from the database collection.
the object that documents to be removed must match
(WriteResult) result of write operation
Remove a matching object from the collection
Remove a matching object from the collection
object to remove from the collection
(WriteResult) result of write operation
the ID of the document to be removed
write concern
(WriteResult) result of write operation
the list of IDs identifying the list of documents to be removed
wrote concern
(WriteResult) result of write operation
object to save
write concern
(WriteResult) result of write operation
Saves an object to this collection.
Saves an object to this collection.
object to save
(WriteResult) result of write operation
collection to be serialized
collection of model objects serialized to a JSON array and rendered as compact JSON
object to be serialized
object serialized as pretty JSON to a String
http://www.assembla.com/spaces/liftweb/wiki/JSON_Support
object to be serialized
object serialized as DBObject
collection to be serialized
collection of model objects serialized as a JSON array of JObject
object to be serialized
object serialized to JObject
http://www.assembla.com/spaces/liftweb/wiki/JSON_Support
model object instance
a map populated with the field names and values of the model object
DBObject
to be deserialized
DBObject
deserialized to object
TODO - bring back view bound... assuming it could possibly be worth the bother.
collection to be serialized
collection of model objects serialized to a JSON array and rendered as pretty JSON
object to be serialized
object serialized as pretty JSON to a String
http://www.assembla.com/spaces/liftweb/wiki/JSON_Support
search query for old object to update
object with which to update q
if the database should create the element if it does not exist
if the update should be applied to all objects matching
write concern
(WriteResult) result of write operation
Performs an update operation.
Performs an update operation.
search query for old object to update
object with which to update q
if the database should create the element if it does not exist
if the update should be applied to all objects matching
write concern
(WriteResult) result of write operation
Find an object by its ID.
Find an object by its ID.
identifier
(Option[ObjectType]) Some() of the object found, or None
if no such object exists
Use findOneById instead
Play framework style model companion
type of object to be serialized
type of object id to be serialized