aqueduct
aqueduct copied to clipboard
Proposal: Add property or method on Query object for getting raw SQL code
For debug it is good to have possibility to get the raw SQL code from instance of Query<T>
. It can be added to Query
class or inside reduce
property.
You can do this by checking the query in the postgresql logs.
Yes. I know but it would be good to have access to the SQL for any case. Maybe for some analysis or cacheing etc.
The problem is that for every action on Query you need to make an alternative that only creates the SQL statement instead of executing it.
You can give it a try for a contribution it should not be that hard to do.