메소드 | 설명 | |
---|---|---|
__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 ) |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | array |
public matchExpr ( ) : Doctrine\ODM\MongoDB\Query\Expr | ||
리턴 | Doctrine\ODM\MongoDB\Query\Expr |