Skip to content
Daniel Lockyer edited this page Apr 17, 2022 · 11 revisions

Documentation

node-sqlite3 has built-in function call serialization and automatically waits before executing a blocking action until no other action is pending. This means that it's safe to start calling functions on the database object even if it is not yet fully opened. The Database#close() function will wait until all pending queries are completed before closing the database.

Clone this wiki locally