1.0.10 • Published 5 months ago

venice-knex-snowflake-dialect v1.0.10

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

venice-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 venice-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.10

5 months ago

1.0.9

5 months ago

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago