How to use the idb-connector.dbstmt function in idb-connector

To help you get started, we’ve selected a few idb-connector examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github IBM / nodejs-idb-pconnector / lib / statement.js View on Github external
constructor(connection) {
    if (!connection) {
      // eslint-disable-next-line no-param-reassign
      connection = createConnection();
    }
    this.dbc = connection.dbconn;
    // eslint-disable-next-line new-cap
    this.stmt = new dbstmt(this.dbc);
  }

idb-connector

A Node.js DB2 driver for IBM i

MIT
Latest version published 3 months ago

Package Health Score

67 / 100
Full package analysis

Popular idb-connector functions