Getting started: Interfacing SQLite with node

Before we add any new features, we first have to get node and SQLite to play nice with each other.

Fortunately, there is a library to make our lives easier (https://www.npmjs.com/package/sqlite3). The way this package works is interesting enough for it to be worth mentioning. The node module itself comes with a running SQLite instance, which interfaces with the file containing all your data. This is in contrast to other database interfaces, which connect to a running database instance.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.38.3