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
Thanks for building this library, it's very impressive and I'm enjoying using it so far.
It would be very helpful if I could unit test some of my query-generating functions without the need for a DB connection. For example, with an .inspect() method or similar that returns a simple {text, values} structure or similar without inducing a DB round-trip.
There appears to be some discussion around this requirement in #760 and the current workaround appears to be to catch the exception and then inspect the query and parameters properties on the exception, which may not be ideal.
The text was updated successfully, but these errors were encountered:
Thanks for building this library, it's very impressive and I'm enjoying using it so far.
It would be very helpful if I could unit test some of my query-generating functions without the need for a DB connection. For example, with an
.inspect()
method or similar that returns a simple{text, values}
structure or similar without inducing a DB round-trip.There appears to be some discussion around this requirement in #760 and the current workaround appears to be to catch the exception and then inspect the
query
andparameters
properties on the exception, which may not be ideal.The text was updated successfully, but these errors were encountered: