harsh-savvient

Results 3 comments of harsh-savvient

try { const pool = odbc.pool('DSN=Sample', (error, pool) => { // pool now has open connections if (error) { console.log('Error creating connection pool:', error); return; // handle } // Ensure...

> connection TypeError: pool.acquire is not a function Please check the following updated code. ``` try { const connectionString = 'DSN=Sample'; odbc.pool(connectionString, (error1, pool) => { if (error1) { console.log('Error...

> connection @snotmare @markdirish @bbigras @theduderog https://www.npmjs.com/package/odbc I am using odbc npm package and facing same issue with connection object. Please check the following code block: ``` async function connectToDatabase()...