1.7.2 • Published 3 years ago

@dictadata/redshift-junction v1.7.2

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

@dictadata/redshift-junction

dictadata storage-junction plug-in for Amazon Redshift database access using ODBC.

Installation

Requires Redshift ODBC drivers.

Requires node-gyp and a C++ compiler to build the NPM odbc package.

Storage-Junction Plugin

Register the junction when initializing the app.

const storage = require("@dictadata/storage-junctions");

const RedshiftJunction = require("@dictadata/redshift-junction");
storage.use("redshift", RedshiftJunction);

Then a junction can be created elsewhere in the app using a SMT.

const storage = require("@dictadata/storage-junctions");

var junction = await storage.activate({
  smt: {
    model:"redshift",
    locus: "DSN=xyz",
    schema: "table",
    key: "*"
  }
});
1.7.2

3 years ago

1.2.0

3 years ago

0.5.0

4 years ago