Doctrine\MongoDB\Aggregation\Stage\Match::elemMatch PHP Method

elemMatch() public method

You can create a new expression using the {@link Builder::matchExpr()} method.
See also: Expr::elemMatch()
See also: http://docs.mongodb.org/manual/reference/operator/elemMatch/
public elemMatch ( array | Expr $expression )
$expression array | Doctrine\MongoDB\Query\Expr
    public function elemMatch($expression)
    {
        $this->query->elemMatch($expression);
        return $this;
    }