Doctrine\MongoDB\Query\Expr::notEqual PHP Method

notEqual() public method

Specify $ne criteria for the current field.
See also: Builder::notEqual()
See also: http://docs.mongodb.org/manual/reference/operator/ne/
public notEqual ( mixed $value )
$value mixed
    public function notEqual($value)
    {
        return $this->operator('$ne', $value);
    }

Usage Example

Example #1
0
 /**
  * Specify $ne criteria for the current field.
  *
  * @see Expr::notEqual()
  * @see http://docs.mongodb.org/manual/reference/operator/ne/
  * @param mixed $value
  * @return self
  */
 public function notEqual($value)
 {
     $this->expr->notEqual($value);
     return $this;
 }
All Usage Examples Of Doctrine\MongoDB\Query\Expr::notEqual