Wednesday, 10 May 2017

How to connect sqlite to angular js

First i install the sqlite3 than npm install npm start here is my code var sqlite3 = require('sqlite3').verbose(); var file = "Stokly.db"; var db = new sqlite3.Database(file); db.all("SELECT * FROM Hotkey", function (err, rows) { rows.forEach(function (row) {})});db.close(); but always getting erro: sqlite3 not define please help me Thanks in advance



via manoj

No comments:

Post a Comment