📜  javascript 代码示例的数据库

📅  最后修改于: 2022-03-11 15:03:43.834000             🧑  作者: Mango

代码示例1
/* 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.');
});