JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 120
  • Score
    100M100P100Q69020F
  • License MIT

Waterline Adapter for SQLite3

Package Exports

  • waterline-sqlite3

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (waterline-sqlite3) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 --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', // 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