3.1.0 • Published 5 years ago

modelar-sqlite-adapter v3.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Modelar-Sqlite-Adapter

This is an adapter for Modelar to connect SQLite database.

Prerequisites

  • node version higher than 4.0.0 (according to node-sqlite3).
  • node-pre-gyp installed (npm i -g node-pre-gyp) before install this package.
  • sqlite3 version v3.6+.

Install

npm install modelar-sqlite-adapter --save

How To Use

const { DB } = require("modelar");
const { SqliteAdapter } = require("modelar-sqlite-adapter");

DB.setAdapter("sqlite", SqliteAdapter);

// then using the type 'sqlite' in db.config
DB.init({
    type: "sqlite",
    database: "sample.db"
});
3.1.0

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago