user1549605 user1549605 - 6 months ago 176
Node.js Question

node.js sybase driver

I am developing an app using node.js express framework and would need to connect to sybase ASE database. I did enough search and couldn't find the sybase driver for node.js. doesn't node.js support sybase or should I use something like a generic driver?

Answer

An exhaustive list of database drivers is on the node.js wiki here:

https://github.com/joyent/node/wiki/Modules#wiki-database

But no Sybase so that leaves using an ODBC driver which, if on *nix, then you have the option of:

https://github.com/w1nk/node-odbc

Alternatively, Sybase ASE has it's own web services engine which exposes SQL and stored procedures through a SOAP API. Your best option may be to just roll your own SOAP client in node against that API, perhaps using node-soap.