Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

database for javascript

/* Sqlite, MySQL, SQL */

const sqlite3 = require('sqlite3').verbose();
let db = new sqlite3.Database('DataBase');

let db = new sqlite3.Database('DataBase', (err) => {
  if (err) { return console.error(err.message); }
  console.log('Connected to the in-memory SQlite database.');
});
 
PREVIOUS NEXT
Tagged: #database #javascript
ADD COMMENT
Topic
Name
8+6 =