Libraries for connecting node.js to odbc on Windows? [closed]

半腔热情 提交于 2019-11-30 01:31:56

问题


I'm looking for a library that allows node.js to connect to ODBC on windows. All the libraries I have found thus far seem to work with UnixODBC but not windows, can someone please suggest a library that will work with Windows?


回答1:


Although the readme only mentions UnixODBC, this project: https://github.com/wankdanker/node-odbc will actually install and work on windows.

You can install it on windows with:

npm install odbc

but you will need the various requiements for building native modules on windows:

https://github.com/TooTallNate/node-gyp



来源:https://stackoverflow.com/questions/13017024/libraries-for-connecting-node-js-to-odbc-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!