@heyitsmarcus/

Database Test

Nodejs

No description

fork
loading
Files
  • index.js
  • package-lock.json
  • package.json
index.js
1
2
3
4
5
6
7
const alasql = require('alasql');

// alasql("CREATE TABLE test (language INT, hello STRING)");
// alasql("INSERT INTO test VALUES (1,'Hello!')");
// alasql("INSERT INTO test VALUES (2,'Aloha!')");
// alasql("INSERT INTO test VALUES (3,'Bonjour!')");
console.log( alasql("SELECT * FROM test WHERE language > 0") );
node v10.16.0