Collects conditions to query
If cache of key exists, actual query does not performed. If cache does not exist, query result will be saved in cache.
Redis is used to cache.
Executes the query as a count operation
Executes the query as a delete operation
Returns distinct records
Ends last if
Executes the query
Explains the query
Makes a part of the query chain conditional
Returns associated objects also
Returns raw instances instead of model instances
Sets limit of query
Finds records near target
Returns only one record (or null if does not exists).
This is different from limit(1). limit(1) returns array of length 1 while this returns an instance.
Specifies orders of result
Sets skip of query
Executes the query and returns a readable stream
Executes the query as a promise (.then == .exec().then)
Executes the query as a update operation
Executes the query as an insert or update operation
Finds records by condition
Generated using TypeDoc