public function whereRowValues($columns, $operator, $values, $boolean = 'and')
    {
        if (count($columns) !== count($values)) {
            throw new InvalidArgumentException('The number of columns must match the number of values');
        }

        $type = 'RowValues';

        $this->wheres[] = compact('type', 'columns', 'operator', 'values', 'boolean');

        $this->addBinding($this->cleanBindings($values));

        return $this;
    }
public function whereRowValues($columns, $operator, $values, $boolean = 'and')
    {
        if (count($columns) !== count($values)) {
            throw new InvalidArgumentException('The number of columns must match the number of values');
        }

        $type = 'RowValues';

        $this->wheres[] = compact('type', 'columns', 'operator', 'values', 'boolean');

        $this->addBinding($this->cleanBindings($values));

        return $this;
    }
public function whereRowValues ( $ columns , $ operator , $ values , $ boolean = 'and' ) { if ( count ( $ columns ) !== count ( $ values ) ) { throw new InvalidArgumentException ( 'The number of columns must match the number of values' ) ; } $ type = 'RowValues' ; $ this -> wheres [ ] = compact ( 'type' , 'columns' , 'operator' , 'values' , 'boolean' ) ; $ this -> addBinding ( $ this -> cleanBindings ( $ values ) ) ; return $ this ; }
Adds a where condition using row values.

@param  array   $columns
@param  string  $operator
@param  array   $values
@param  string  $boolean
@return $this
Adds a where condition using row values .