Created
June 30, 2016 02:27
-
-
Save wykhuh/898002b6ecfe7ffef5af542357176883 to your computer and use it in GitHub Desktop.
db intro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connect to database | |
var file = './db/library.db'; | |
var sqlite3 = require('sqlite3').verbose(); | |
var db = new sqlite3.Database(file); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment