SQL.js Instead of creating a new sql database , access a file.sql

189 Views Asked by At

I need help (Problem inside code.)

 var db = new SQL.Database(); //instead of creating a new Database , i want to access one.
 db.run("CREATE TABLE todos (id INTEGER PRIMARY KEY AUTOINCREMENT, item TEXT);");```
0

There are 0 best solutions below