Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make debugging easier by including query in postgres error #216

Closed
Soremwar opened this issue Jan 27, 2021 · 2 comments · Fixed by #467 or #469
Closed

Make debugging easier by including query in postgres error #216

Soremwar opened this issue Jan 27, 2021 · 2 comments · Fixed by #467 or #469
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@Soremwar
Copy link
Collaborator

More often than not I have to log my executed queries to find syntax problems but have to do it outside of the query in order to get the executed query

@Soremwar Soremwar added the enhancement New feature or request label Jan 27, 2021
@Soremwar Soremwar self-assigned this Jan 27, 2021
@Soremwar Soremwar added this to the Future milestone Sep 29, 2021
@lionel-rowe
Copy link

This would be huge! Native SQL errors are pretty terrible ("syntax error near user_id") but even worse if you can't see what the raw query was.

@bombillazo
Copy link
Collaborator

While not directly the same solution, now you can make queries loggable with the new debug option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
3 participants