Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@dictadata/redshift-junction

0.5.0 • Public • Published

@dictadata/redshift-junction

A storage junction 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.

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 = storage.activate({
  smt: {
    model:"redshift",
    locus: "DSN=xyz",
    schema: "table",
    key: "*"
  }
});

Install

npm i @dictadata/redshift-junction

DownloadsWeekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

50 kB

Total Files

39

Last publish

Collaborators

  • avatar