Comments (5)
Hey,
Can you help me using node-odbc with DB2?
As progress from my side. I am able to set up node.js and node-odbc along with DB2 successfully.
Now it will be very useful if you could point me to API docs and how to run the test suite.
Thanks
Praveen
from node-odbc.
Hey @praveend,
The test suite isn't really a test suite at this point in time. It is just a bunch of individual tests without any glue to run them all. And the tests are certainly not all inclusive. If you want to experiment with them, you can change the connection string in test/common.js to match what your DB2 connection string would be. Then run individual tests with node test-name.js
. I would review what the test does in code before executing them, though. Some of them create and remove tables, etc. I have not heard from any other users regarding these tests. So, as far as I am aware, I am the only person on Earth who has run them...
There are really no API docs. The README.md file contains the two most used methods of the API. db.open(connectionString, callback)
and db.query(sqlString[, bindingParameters], callback)
.
This is not a wrapper to all of the ODBC functionality.
Hope this helps.
Dan
from node-odbc.
Also, @praveend, if you have specific questions or need help in real time, I am in #node.js on freenode IRC as wankdanker.
from node-odbc.
I have updated the README to have a more explicit API section. Check it out here:
https://github.com/wankdanker/node-odbc/blob/master/README.md
I am going to close this issue now because the API docs have been updated and the test suite completion is a different issue. If you have specific issues with getting DB2 to work then by all means open another issue.
Thanks.
from node-odbc.
Hey, @wankdanker , Thanks for the reply will get some hands on by running some tests as mentioned. Also thanks for the README update.
Will get in touch with you for further help or issues via irc or this forum.
Thanks
Praveen
from node-odbc.
Related Issues (20)
- Error '[node-odbc] Error in ODBCResult::MoreResultsSync', HOT 1
- support for SQL_SUCCESS_WITH_INFO return HOT 1
- endless loop HOT 1
- node-odbc incompatible with Electron? HOT 3
- Error while installing package [Failed at the [email protected] install script 'node-gyp configure build'.]
- npm install error OSX HOT 2
- code fails with latest version of node-odbc as well as ibm_db
- node-odbc SSL encryption support? HOT 1
- Unsupported platform for [email protected] HOT 1
- Support more ODBC Features
- Statically linked Library
- npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] node-gyp configure build /usr/src/pal/node_modules/odbc HOT 3
- Row count when doing UPDATE, INSERT, or DELETE via querySync()
- iso-8859-15 dont show character
- Build error when the UNICODE define is removed from binding.gyp HOT 2
- Windows odbc.open crashes on 2nd invocation with Microsoft Access Driver
- Only returning first character on macOS. HOT 2
- How to prevent conversion of datetime string to JS Date object? HOT 2
- How does odbc handle sql injection HOT 2
- odbc.Database is not a constructor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-odbc.