Method | Description | |
---|---|---|
__construct ( |
Create a new aggregation builder. | |
execute ( $options = [] ) | ||
expr ( ) : |
||
getPipeline ( ) : array | Returns the assembled aggregation pipeline | |
hydrate ( string $className ) : self | Set which class to use when hydrating results as document class instances. | |
lookup ( string $from ) : |
||
match ( ) : |
||
matchExpr ( ) : Doctrine\ODM\MongoDB\Query\Expr | ||
out ( string $from ) : |
||
sort ( $fieldName, $order = null ) | ||
unwind ( $fieldName ) |
Method | Description | |
---|---|---|
applyFilters ( array $query ) : array | Applies filters and discriminator queries to the pipeline | |
getDocumentPersister ( ) : |
||
prepareCursor ( Doctrine\MongoDB\CommandCursor $cursor ) : |
public __construct ( |
||
$dm | ||
$documentName | string |
public getPipeline ( ) : array | ||
return | array |
public matchExpr ( ) : Doctrine\ODM\MongoDB\Query\Expr | ||
return | Doctrine\ODM\MongoDB\Query\Expr |