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
letwhere=sql`col = 1`;letquery=sql`SELECT * FROM WHERE ${where}`;letsql_as_string=query.(what?);
Hello. Is there any way to get the actual sql query string before/without the exucution?
I know we have sql.statement but it is not available before the query exucution and if the query has errors (while building it dynamically) I don't know how to debug it properly.
I found query.strings but it's...well not what i need.
The text was updated successfully, but these errors were encountered:
Hello. Is there any way to get the actual sql query string before/without the exucution?
I know we have sql.statement but it is not available before the query exucution and if the query has errors (while building it dynamically) I don't know how to debug it properly.
I found
query.strings
but it's...well not what i need.The text was updated successfully, but these errors were encountered: