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
Jayr Alencar edited this page Nov 23, 2015
·
1 revision
Outros comandos SQL podem ser rodados com run(sql,[options]) ou runAsync(sql,[options], callback), exemplo:
var sqlite = require('sqlite-sync');
sqlite.connect('myDatabase.db');
//Criando tabela
sqlite.run("CREATE TABLE COMPANYS(ID INTEGER PRIMARY KEY AUTOINCREMENT, NAME TEXT NOT NULL);");