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

bitsAnyClear() public method

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

Usage Example

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