Replies: 2 comments 1 reply
-
The raw query is available in the generated code. That should show you exact what query is being run. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you're using pgx, I use this to log all the queries:
If you don't use pgx, you could relatively easily intercept the queries as they're being sent to the database by implementing a DBTX that logs and then sends them on to the database. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am seeing
sql: no rows in result set
for a quite simple statement that works when I run it on psql CLI.Is there anyway of printing out what raw SQL is executed , so I can just check formatting etc?
Beta Was this translation helpful? Give feedback.
All reactions