LMongo\Query\Builder::pullAll PHP Method

pullAll() public method

Remove several value from the array key.
public pullAll ( string $column, mixed $value = null ) : integer
$column string
$value mixed
return integer
    public function pullAll($column, $value = null)
    {
        if (is_array($column)) {
            $update = array('$pullAll' => $column);
        } else {
            $update = array('$pullAll' => array($column => $value));
        }
        return $this->performUpdate($update);
    }
Builder