title: Laravel print last executed SQL query with Query log
body: <pre><code>DB::enableQueryLog();
  $mines = Cranks::where([['crank_id', '=', $this-&gt;crank_id], ['mine_id', 'like', '%'.$script_value-&gt;mine_id.'%'] ])-&gt;get();
  $querylog =  DB::getQueryLog();
  dd($querylog);
  exit;
  </code></pre>
  <p>This code prints the querylog with bind array and all - How can I get the pure SQL, so I can run it in <code>PhpMyAdmin</code></p>