JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q32291F
  • License BSD3-Clause

Most Web Framework SQLite Adapter

Package Exports

  • most-data-sqlite

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 (most-data-sqlite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

most-data-sqlite

MOST Web Framework SQLite Adapter

##Install

$ npm install most-data-sqlite

##Usage

Register SQLite adapter on app.json as follows:

"adapterTypes": [
    ...
      { "name":"SQLite Data Adapter", "invariantName": "sqlite", "type":"most-data-sqlite" }
    ...
    ],
adapters: {
    ...
    "sqlite": { "name":"local-db", "invariantName":"sqlite", "default":true,
        "options": {
            database:"db/local.db"
        }
    ...
}

}

If you are intended to use SQLite adapter as the default database adapter set the property "default" to true.