Use Node.js with ODBC driver
Install the usual way
-
clone repository locally
-
install it
npm install
- configure it. Create a .env file in root folder with the following
DRIVER="<an ODBC driver name>"
SERVER="localhost"
DATABASE="<a database name>"
USERNAME="<a username>"
PASSWORD="<a password>"
SQLQUERY="select * from foo.bar"
- run it
node ./appjs
or
nodemon ./app.js