1.0.3-lum.15 • Published 11 months ago

@luminati-io/knex-snowflake-dialect v1.0.3-lum.15

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

knex-snowflake-dialect

knex.js dialect for the Snowflake data warehouse.

As of release 0.2.x, the connect and raw query methods have been tested, along with schema migrations.

Installation

npm install knex-snowflake-dialect

Usage

Sample initialization:

import * as knex from "knex";
import { SnowflakeDialect } from "knex-snowflake-dialect";

export const Snowflake = knex({
  client: SnowflakeDialect,
  debug: true,
  connection: "snowflake://myuser:mypassword@myaccount.myregion.snowflakecomputing.com/mydb?warehouse=MY_WAREHOUSE",
  pool: {
    min: 1,
    max: 1
  }
});

The configuration could alternatively break out the connection parameters as separate keys, per the snowflake-sdk "Establishing a Connection" documentation.

1.0.3-lum.11

1 year ago

1.0.3-lum.15

11 months ago

1.0.3-lum.14

11 months ago

1.0.3-lum.13

11 months ago

1.0.3-lum.12

11 months ago

1.0.3-lum.10

1 year ago

1.0.3-lum.9

2 years ago

1.0.3-lum.8

2 years ago

1.0.3-lum.7

2 years ago

1.0.3-lum.6

2 years ago

1.0.3-lum.5

2 years ago

1.0.3-lum.4

2 years ago

1.0.3-lum.3

2 years ago

1.0.3-lum.2

2 years ago

1.0.3-lum.1

2 years ago