Tag: query log

Laravel – Simple Query Debug

Łukasz Piotrowski Comments 0

Sometimes We must check exactly what query was generated by Eloquent or DB. Unfortunately it's not simple as we can imagine.

The solution might be install laravel-debugbar, but if we want check only one query it's unnecessary to install it.

I'll give You very simple solution :)