getting executed sql querie from the QueryLog

pointed to a neat way of geting your raw sql queries from the query log
$queries = DB::getQueryLog();
$last_query = end($queries);