This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Indeed you have to send builder to get bindings included to your query to make you to see real query goes to your database. | |
# Not much powerful it is just for seeing a singular query which is not working well that if you think | |
# write this function down to your helper(s).php | |
if(!function_exists('getRealQuery')){ | |
function getRealQuery(\Illuminate\Database\Eloquent\Builder $query, $dumpIt = false) | |
{ | |
$params = []; |