You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
For easier debugging of queries. Just like collection dumping, but this is for queries. This is actully very useful for long complex queries that you need to copy paste in your sql editor (like sequelpro, dbeaver).
Also we can incorporate the idea of automatically substituting the binding values instead of question marks. See #901.
First, I am thinking that it can be just simply dd() and dump() but it might be tricky when you accidentally called it after get() and you will be calling the collection's dd() and dump() methods.
Anyway I think this can be achieved in macros and/or scope queries.
It might be better in macros so that you have the option to load macros in service providers and only register them in local environment, not in production.
The text was updated successfully, but these errors were encountered:
For easier debugging of queries. Just like collection dumping, but this is for queries. This is actully very useful for long complex queries that you need to copy paste in your sql editor (like sequelpro, dbeaver).
The following code will print their sql queries.
Also we can incorporate the idea of automatically substituting the binding values instead of question marks. See #901.
First, I am thinking that it can be just simply dd() and dump() but it might be tricky when you accidentally called it after get() and you will be calling the collection's dd() and dump() methods.
Anyway I think this can be achieved in macros and/or scope queries.
It might be better in macros so that you have the option to load macros in service providers and only register them in local environment, not in production.
The text was updated successfully, but these errors were encountered: