not() public méthode

Evaluates a boolean and returns the opposite boolean value.
See also: http://docs.mongodb.org/manual/reference/operator/aggregation/not/
public not ( mixed | self $expression )
$expression mixed | self
Exemple #1
0
 /**
  * Evaluates a boolean and returns the opposite boolean value.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/not/
  * @see Expr::not
  * @param mixed|Expr $expression
  * @return self
  */
 public function not($expression)
 {
     $this->expr->not($expression);
     return $this;
 }