Abstract
The owning EntityManager of this query
The result class of this query
Readonly
entityThe owning EntityManager of this query
Readonly
resultThe result class of this query
Static
Readonly
MAX_Abstract
addAbstract
addAbstract
addAbstract
countExecute the query that returns the matching objects count.
The total number of matched objects
Optional
doneCallback: CountCallbackCalled when the operation succeed.
Optional
failCallback: FailCallbackCalled when there is a server-side error
Sets the limit of this query, i.e hox many objects should be returnd
The resulting Query
http://docs.mongodb.org/manual/reference/method/cursor.limit/
The limit of this query
Sets the offset of the query, i.e. how many elements should be skipped
The resulting Query
http://docs.mongodb.org/manual/reference/method/cursor.skip/
The offset of this query
Abstract
resultExecute the query and return the query results as a List
Note: All local unsaved changes on matching objects, will be discarded.
A promise that will be resolved with the query result as a list
Optional
options: ResultOptionsThe query options
Optional
doneCallback: ResultListCallback<T>Called when the operation succeed.
Optional
failCallback: FailCallbackCalled when the operation failed.
Execute the query and return the query results as a List
Note: All local unsaved changes on matching objects, will be discarded.
A promise that will be resolved with the query result as a list
Optional
doneCallback: ResultListCallback<T>Called when the operation succeed.
Optional
failCallback: FailCallbackCalled when the operation failed.
Abstract
singleExecute the query that returns a single result
Note: All local unsaved changes on the matched object, will be discarded.
A promise that will be resolved with the query result as a single result
Optional
options: ResultOptionsThe query options
Optional
doneCallback: SingleResultCallback<T>Called when the operation succeed.
Optional
failCallback: FailCallbackCalled when the operation failed.
Execute the query that returns a single result
Note: All local unsaved changes on the matched object, will be discarded.
A promise that will be resolved with the query result as a single result
Optional
doneCallback: SingleResultCallback<T>Called when the operation succeed.
Optional
failCallback: FailCallbackCalled when the operation failed.
Sets the sort of the query and discard all existing paramaters
The resulting Query
http://docs.mongodb.org/manual/reference/method/cursor.sort/
The new sort of the query which is an object whose keys are fields and the values are either +1 for ascending order or -1 for descending order
Generated using TypeDoc
An abstract Query which allows retrieving results