A Waterline adapter for SQLite3.
- Fully compatible with SQLite3
- Supports Waterline Associations
- Uses knex.js for query building
- Written in ES6
$ npm install waterline-sqlite3 --save
module.exports.connections = {
sqlitedb: {
/**
* Database instance type. Specify whether to store the database on disk
* or in memory.
*/
adapter: 'waterline-sqlite3', // or 'memory'
/**
* Location of file if type='disk'
*/
filename: './tmp/db.sqlite',
/**
* Set to true to output SQL queries
*/
debug: false
}
}
MIT