src/Requests/FilterRequest.php
public function activeQueryLog()
    {
        if ($this->request->get('queries', false) && (env('APP_ENV') === 'local' || env('APP_ENV') === 'staging')) {
            DB::enableQueryLog();
            config(['odin.queryRequest' => true]);
        }
        
        return $this;
    }
public function activeQueryLog()
    {
        if ($this->request->get('queries', false) && (env('APP_ENV') === 'local' || env('APP_ENV') === 'staging')) {
            DB::enableQueryLog();
            config(['odin.queryRequest' => true]);
        }
        
        return $this;
    }
public function activeQueryLog ( ) { if ( $ this -> request -> get ( 'queries' , false ) && ( env ( 'APP_ENV' ) === 'local' || env ( 'APP_ENV' ) === 'staging' ) ) { DB :: enableQueryLog ( ) ; config ( [ 'odin.queryRequest' => true ] ) ; } return $ this ; }
Seta os campos para a consulta

@return this
Seta os campos para a consulta