3.0.0 • Published 4 months ago

knex-rqlite v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 months ago

knex-rqlite

npm.io npm.io npm.io npm.io

Rqlite dialect for knex


Usage

First install knex and knex-rqlite: npm install knex rqlite-js knex-rqlite

Then to use the driver like this:

import Knex from "knex";
import { RqliteDialect, typeConfig } from "knex-rqlite";

const knex = Knex({
  client: RqliteDialect,
  connection: typeConfig({
    host: "localhost",
    port: 4001,
  }),
});

Credits

A special thanks goes to the team @redaxle, which implemented the compatibility between knex-rqlite and knex 2.0 (#17)!

Known problems

  • This knex dialect doesn't support transactions yet
  • Look into TODO.md to find a list of coming features

E2E tests

The tests can be run with ./scripts/test.js

This requires a running rqlite server on port 4001 and will drop&change the table rqliteDialect-e2e

Building

./scripts/build

3.0.0

4 months ago

2.0.3

1 year ago

2.0.2

2 years ago

1.0.1

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago