Свойство | Type | Description | |
---|---|---|---|
$limit | |||
$orderBy | |||
$predicate | |||
$repo |
Méthode | Description | |
---|---|---|
__construct ( |
Constructor | |
getFieldValue ( $doc, $field, &$found = false ) | ||
matchDocument ( $doc, $field, $operator, $value ) | ||
run ( ) : |
Runs the query. |
Méthode | Description | |
---|---|---|
filter ( $documents, $predicates ) | ||
sort ( array $array, array $args ) : array | Sorts an array of documents by multiple fields if needed. |
public __construct ( |
||
$repo | The repo to execute against | |
$pred | The predicate to use. | |
$limit | array | The count and offset. |
$orderBy | array | An array of field names to order by |
public run ( ) : |
||
Résultat | The documents returned from this query. |