Wondering what’s next for npm?Check out our public roadmap! »

    @dictadata/redshift-junction

    1.7.2 • Public • Published

    @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: "*"
      }
    });
    

    Install

    npm i @dictadata/redshift-junction

    DownloadsWeekly Downloads

    7

    Version

    1.7.2

    License

    MIT

    Unpacked Size

    41.5 kB

    Total Files

    35

    Last publish

    Collaborators

    • avatar