You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a question. I'm working on electronjs app and I need a db on this application. My database read code is
var filebuffer = fs.readFileSync('assets/db/sql.db');
var db = new SQL.Database(filebuffer);
var contents = db.exec("SELECT * FROM employees");
console.log(contents)
While reading database my electronjs app freeze a little bit time. After read database application is working normal. How can I solve this problem? On line SQL.Database(filebuffer)