idb-connector
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "idb-connector", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "A Node.js DB2 driver for IBM i", | ||
@@ -5,0 +5,0 @@ "main": "lib/db2a.js", |
# Node.js iDB Connector | ||
The Node.js iDB Connector is a Node.js DB2 driver open source project from IBM. | ||
# Build | ||
git clone git@bitbucket.org:litmis/nodejs-idb-connector.git | ||
cd nodejs-idb-connector | ||
npm install --build-from-source | ||
Note: Gcc and python are required to compile the code. | ||
@@ -16,11 +8,9 @@ # Installation | ||
Then you can *require('idb-connector')* in your code. | ||
Then you can _require_ in your code, as shown below. | ||
```js | ||
var db = require('idb-connector'); | ||
``` | ||
If you encounter below error messega: | ||
Error: Cannot find module 'idb-connector' | ||
you need to add the idb-connector path: | ||
export NODE_PATH=/QOpenSys/pkgs/lib/nodejs8/lib/node_modules | ||
@@ -95,5 +85,15 @@ # Quick Example | ||
# API Reference | ||
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/DB2%20for%20i%20Access%20APIs%20-%20New | ||
[DeveloperWorks](https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/DB2%20for%20i%20Access%20APIs%20-%20New) | ||
# Build | ||
Note that building isn't necessary for end users and is more for developers looking to compile the native Node.js extensions (C code). | ||
```sh | ||
git clone git@bitbucket.org:litmis/nodejs-idb-connector.git | ||
cd nodejs-idb-connector | ||
npm install --build-from-source | ||
``` | ||
Note: Gcc and python are required to compile the code. | ||
# License | ||
MIT. View [`LICENSE`](https://bitbucket.org/litmis/nodejs-idb-connector/src/master/LICENSE) file. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2133104
542