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
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Thank you for this report. Currently there is a "connection" Event emitted by the DBWrapper instance when the DB connection is resolved, with a "err" param.
But you're right, it may be more "Nodish" to be able to provide a callback on the "connect()" method. I'm going to try to add this feature...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Node-DBI users are encouraged to write code like the following (in Coffeescript):
The two solutions to this issue are:
async
, and document this inREADME.md
:connect()
: i.e. change the interface toconnect(callback)
The text was updated successfully, but these errors were encountered: