public function addNestedWhereQuery($query)
    {
        if (count($query->wheres)) {
            $wheres = $this->wheres ?: [];

            $this->wheres = array_merge($wheres, $query->wheres);
        }

        return $this;
    }
public function addNestedWhereQuery($query)
    {
        if (count($query->wheres)) {
            $wheres = $this->wheres ?: [];

            $this->wheres = array_merge($wheres, $query->wheres);
        }

        return $this;
    }
public function addNestedWhereQuery ( $ query ) { if ( count ( $ query -> wheres ) ) { $ wheres = $ this -> wheres ? : [ ] ; $ this -> wheres = array_merge ( $ wheres , $ query -> wheres ) ; } return $ this ; }
Merge another query builder wheres with the query builder wheres.

@param  \Kevindierkx\Elicit\Query\Builder|static $query
@return self
Merge another query builder wheres with the query builder wheres .