original_string: protected function whereNested(Builder $query, $where)
      {
          $nested = $where['query'];
  
          return '('.substr($this->compileWheres($nested), 6).')';
      }
code: protected function whereNested(Builder $query, $where)
      {
          $nested = $where['query'];
  
          return '('.substr($this->compileWheres($nested), 6).')';
      }
code_tokens: protected function whereNested ( Builder $ query , $ where ) { $ nested = $ where [ 'query' ] ; return '(' . substr ( $ this -> compileWheres ( $ nested ) , 6 ) . ')' ; }
docstring: Compile a nested where clause.
  
  @param  \Nova\Database\Query\Builder  $query
  @param  array  $where
  @return string
docstring_tokens: Compile a nested where clause .