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
I have async helper function which should create SQL fragment. But when I return it directly, it is treated as executable query and this of course fail badly.
Is there possibility to create only SQL fragment, which have not PromiseLike interface?
I have async helper function which should create SQL fragment. But when I return it directly, it is treated as executable query and this of course fail badly.
Is there possibility to create only SQL fragment, which have not PromiseLike interface?
Example:
This will not work:
Workaround – working, but ugly:
Request; proposed API:
Use case:
Is there interrest in this feature?
IMHO it's more secure to have fragment and final query separated.
The text was updated successfully, but these errors were encountered: