πIntroduction
For all users of quick.db 9.0.0 pre-release (Github version) please check this page out!
This package is meant to provide an easy way to create and use a database, all data is stored persistently, and comes with additional easy to use features.
Installation
npm install quick.dbSQLite Driver installation
To use the SQLite driver. installing better-sqlite3 is necessary
npm install better-sqlite3MySQL Driver installation
To use the MySQL driver. installing promise-mysql is necessary
npm install promise-mysqlconst { QuickDB } = require('quick.db');
const db = new QuickDB(); // using default driverThe latest release uses async/await. You can read more about the changes here.
What is Quick.db?
Quick.db is an easy-to-use database manager built with better-sqlite3. It's simple by design and perfect for smaller projects where you don't want to set up a separate database server or individuals who may be getting started with programming.
Example
All data in quick.db is stored persistently in a database. Here is an example of setting an object in the database, then fetching parts & the full object.
Last updated