Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upError: Database nSQL_DB doesn't exist! #156
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
Hmm, looks like a bug in the event system. Will try to get this patched sometime this week. Thanks for letting me know! |
This comment has been minimized.
This comment has been minimized.
This is resolved in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which version are you using?
2.3.4
Describe the bug
When trying to listen to the 'ready' event to perform actions once the db is ready, the following error occurs
Error: Database nSQL_DB doesn't exist!
Example
nSQL().on('ready', nsqlReadyResolver)
Expected behavior
NanoSQL should wait until the database is ready
I've tried to change the DB id using
.useDatabase
, but that makes no difference sincethis.dbs
object is empty whennSQL().on
executesPerhaps there's a new way to wait for a database to be ready for operations?