npm.io
0.2.2 • Published 3 years ago

intersystems-iris

Licence
ISC
Version
0.2.2
Deps
0
Size
16.6 MB
Vulns
0
Weekly
0

intersystems-iris

NodeJS Support for InterSystems IRIS. At the moment only SQL queries supported.

Installing intersystems-iris

Installing intersystems-iris requires a node 14

You can install the project with npm. In the project directory, run:

npm install intersystems-iris

This fully installs the project, including installing any dependencies.

Exploring intersystems-iris

After building intersystems-iris, you can explore its exports at the Node REPL:

$ npm install intersystems-iris
const { IRIS } = require("intersystems-iris");

async function main() {
    const db = new IRIS('localhost', 1972, 'USER', '_SYSTEM', 'SYS')
    console.log('connected')
    let res = await db.sql("select 1 one, 2 two")
    console.log(res.rows);
    await db.close()
}

main()