Giter Club home page Giter Club logo

Comments (5)

praveend avatar praveend commented on August 20, 2024

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.

wankdanker avatar wankdanker commented on August 20, 2024

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.

wankdanker avatar wankdanker commented on August 20, 2024

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.

wankdanker avatar wankdanker commented on August 20, 2024

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.

praveend avatar praveend commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.