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
Hi! I really appreciate the work you have put into this library!
When automating queries it's not always possible to know if a request will be a query or an execution. Would it be possible to have one method exposed which handles any type of query? Currently, if I use execute, it will throw an error if the response is empty (e.g. from a select statement), and if I use query it will time out if I use an insert/delete/update statement. Maybe changing execute to not throw on empty but rather return undefined or null would be an option?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi! I really appreciate the work you have put into this library!
When automating queries it's not always possible to know if a request will be a query or an execution. Would it be possible to have one method exposed which handles any type of query? Currently, if I use
execute
, it will throw an error if the response is empty (e.g. from a select statement), and if I usequery
it will time out if I use an insert/delete/update statement. Maybe changing execute to not throw on empty but rather return undefined or null would be an option?Thanks!
The text was updated successfully, but these errors were encountered: