app/helpers.php
/**
     * Enable Query Log - after this every query persist will be logged
     */
Enable Query Log - after this every query persist will be logged
Enable Query Log - after this every query persist will be logged
function enable_query_log()
    {
        if(!(bool)getenv('APP_DEBUG', false)) {
            return;
        }
        \DB::enableQueryLog();
    }
function enable_query_log ( ) { if ( ! ( bool ) getenv ( 'APP_DEBUG' , false ) ) { return ; } \ DB :: enableQueryLog ( ) ; }
Enable Query Log - after this every query persist will be logged
Enable Query Log - after this every query persist will be logged