waterline-sqlite3-es5

1.0.5 • Public • Published

Waterline SQLite3 Adapter

NPM version Build status Dependency Status Code Climate

A Waterline adapter for SQLite3.

Features

  • Fully compatible with SQLite3
  • Supports Waterline Associations
  • Uses knex.js for query building
  • Written in ES6

Compatibility

Install

$ npm install waterline-sqlite3-es5 --save

Configuration

config/connections.js

module.exports.connections = {
  sqlitedb: {
    /**
     * Database instance type. Specify whether to store the database on disk
     * or in memory.
     */
    adapter: 'waterline-sqlite3-es5', // or 'memory'

    /**
     * Location of file if type='disk'
     */
    filename: './tmp/db.sqlite',

    /**
     * Set to true to output SQL queries
     */
    debug: false
  }
}

License

MIT

Maintained By

Readme

Keywords

Package Sidebar

Install

npm i waterline-sqlite3-es5

Weekly Downloads

3

Version

1.0.5

License

MIT

Last publish

Collaborators

  • swanie42