intersystems-iris
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

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()

Readme

Keywords

none

Package Sidebar

Install

npm i intersystems-iris

Weekly Downloads

6

Version

0.2.2

License

ISC

Unpacked Size

17.4 MB

Total Files

10

Last publish

Collaborators

  • daimor