public function pull($column, $value = null)
    {
        $this->compileWheres();
        $result = $this->query->update([
            $column => r\row($column)->difference([$value]),
        ])->run();

        return 0 == (int) $result['errors'];
    }
public function pull($column, $value = null)
    {
        $this->compileWheres();
        $result = $this->query->update([
            $column => r\row($column)->difference([$value]),
        ])->run();

        return 0 == (int) $result['errors'];
    }
public function pull ( $ column , $ value = null ) { $ this -> compileWheres ( ) ; $ result = $ this -> query -> update ( [ $ column => r \ row ( $ column ) -> difference ( [ $ value ] ) , ] ) -> run ( ) ; return 0 == ( int ) $ result [ 'errors' ] ; }
Remove one or more values from an array.

@param mixed $column
@param mixed $value

@return bool
Remove one or more values from an array .