/** * Return the expression's query criteria. * * @see Expr::getQuery() * @return array */ public function getQueryArray() { return $this->expr->getQuery(); }
/** * Negates an expression for the current field. * * @see Builder::not() * @see http://docs.mongodb.org/manual/reference/operator/not/ * @param array|Expr $expression * @return self */ public function not($expression) { return $this->operator('$not', $expression instanceof Expr ? $expression->getQuery() : $expression); }
/** * {@inheritdoc} */ public function getExpression() { return array('$match' => $this->query->getQuery()); }