IBM / nodejs-idb-connector

A JavaScript (Node.js) library for communicating with Db2 for IBM i, with support for queries, procedures, and much more. Uses traditional callback-style syntax
MIT License
37 stars 23 forks source link

SQL_PARAM_INPUT not defined #22

Closed abmusse closed 6 years ago

abmusse commented 6 years ago

Original report by Jesse G (Bitbucket: ThePrez, GitHub: ThePrez).


Several of the examples reference constants like db.SQL_PARAM_INPUT that are not actually defined.

abmusse commented 6 years ago

Original comment by Jesse G (Bitbucket: ThePrez, GitHub: ThePrez).


Invalid issue, as the specified constant is indeed defined

abmusse commented 6 years ago

Original comment by Kerim Gueney (Bitbucket: KerimG, GitHub: KerimG).


It seems to work now. Thank you!

abmusse commented 6 years ago
#!javascript

var db = require('idb-connector')

The Constant should work now if you call

#!javascript

db.SQL_PARAM_INPUT