2.1.2 • Published 5 months ago

knex-firebird-dialect v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

👾 knex-firebird-dialect

codecov

This library serves as dialect (client) for Knex.js (A SQL query builder).

The purpose of doing this is to replace old unmaintained libraries; this one is based on igorklopov/firebird-knex. Under the hood, there is a node-firebird-driver-native. In case you can't use the node-firebird-driver-native package, stick to version 1.x of this package which works on top of node-firebird package.

Show some love and ⭐️ this project!

🚀 Usage

Start with installing the package with your favorite package manager.

yarn add knex-firebird-dialect node-firebird-driver-native

or

npm install knex-firebird-dialect

Snippet below shows basic setup.

import knexLib from "knex";
import knexFirebirdDialect from "knex-firebird-dialect";

const knexConfig = {
  client: knexFirebirdDialect,
  connection: {
    host: "127.0.0.1",
    port: 3050,
    user: "SYSDBA",
    password: "masterkey",
    database: '/tmp/database.fdb',
    lowercase_keys: true,
  },
  createDatabaseIfNotExists: true,
  debug: false,
};

Notice: if you using CommonJS require, do not forget to use the default import. const knexFirebirdDialect = require("knex-firebird-dialect").default;

For more look at the tests folder.

2.1.2

5 months ago

2.1.1

8 months ago

2.0.4

10 months ago

2.1.0

9 months ago

2.0.3

10 months ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

2 years ago

2.0.0-alpha.3

2 years ago

2.0.0-alpha.4

2 years ago

2.0.0-alpha.0

2 years ago

2.0.0-alpha.1

2 years ago

2.0.0-alpha.2

2 years ago

1.4.6

2 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.2.0

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago