This repository has been archived by the owner on Mar 3, 2022. It is now read-only.
Support for ODBC and SQL
Added support for ODBC and SQL database connections. The module assumes OLE DB by default however can be overridden in the initializer.
Here is an example:
const connectionString = 'Server=myServerAddress;Database=myDataBase;Trusted_Connection=True;';
const connectionType = 'sql';
const oledb = require('oledb');
const db = oledb(connectionString, connectionType);
...