πChangelog
This page provides a general summary of what has been changed in the 9.0.0 release of quick.db
π οΈ Additional Database Options
SQLite
// SQLite (default) w/ filePath (optional)
const { QuickDB } = require('quick.db');
const db = new QuickDB({ filePath: 'source/to/path/test.sqlite' });MySQL
// MySQL
const { QuickDB, MySQLDriver } = require('quick.db');
(async () => {
const mysql = new MySQLDriver({
host: 'localhost',
user: 'me',
password: 'secret',
database: 'my_db'
});
await mysql.connect();
// It is important to connect MySQL
const db = new QuickDB({ driver: mysql });
})();Added functions
The use of async/await
Last updated