Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Support for ODBC and SQL

Compare
Choose a tag to compare
@mike-eason mike-eason released this 12 Jan 09:30

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);

...