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

bitsAllClear() public method

Matches documents where all of the bit positions given by the query are clear.
See also: Builder::bitsAllClear()
See also: https://docs.mongodb.org/manual/reference/operator/query/bitsAllClear/
public bitsAllClear ( integer | array | MongoBinData $value )
$value integer | array | MongoBinData
    public function bitsAllClear($value)
    {
        $this->requiresCurrentField();
        return $this->operator('$bitsAllClear', $value);
    }

Usage Example

Example #1
0
 /**
  * Matches documents where all of the bit positions given by the query are
  * clear.
  *
  * @see Expr::bitsAllClear()
  * @see https://docs.mongodb.org/manual/reference/operator/query/bitsAllClear/
  * @param int|array|\MongoBinData $value
  * @return $this
  */
 public function bitsAllClear($value)
 {
     $this->expr->bitsAllClear($value);
     return $this;
 }