The owning entity manager of this query
The query result class
The operator used to join the childes
The childes to join
Readonly
childesThe child Node of this query, it is always one
Readonly
entityThe owning EntityManager of this query
The offset how many results should be skipped
Readonly
maxThe limit how many objects should be returned
Readonly
operatorThe operator used to join the child queries
The properties which should be used sort the result
Readonly
resultThe result class of this query
Static
Readonly
MAX_Execute 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
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
options: ResultOptions | ResultListCallback<T>The query options
Optional
doneCallback: FailCallback | ResultListCallback<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
options: ResultOptions | SingleResultCallback<T>The query options
Optional
doneCallback: FailCallback | 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 Operator saves the state of a combined query