protected function whereNested(Builder $query, $where)
    {
        $nested = $where['query'];

        return '('.substr($this->compileWheres($nested), 6).')';
    }
protected function whereNested(Builder $query, $where)
    {
        $nested = $where['query'];

        return '('.substr($this->compileWheres($nested), 6).')';
    }
protected function whereNested ( Builder $ query , $ where ) { $ nested = $ where [ 'query' ] ; return '(' . substr ( $ this -> compileWheres ( $ nested ) , 6 ) . ')' ; }
Compile a nested where clause.

@param  \Nova\Database\Query\Builder  $query
@param  array  $where
@return string
Compile a nested where clause .