You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the resolution to issue #113 technically speaks to my problem, I'm just calling my stored proc in the context of a regular query issued from a pool, and cannot figure out how to adapt the example you gave in #113 that uses the ProcedureManager
let multiResultSqlStatement = `dbo.sp_help [SomeTable]`;
const poolPromise = configObj.pools['MyNamedPool'].connect();
let records = await poolPromise.then((pool) => {
return pool.query(multiResultSqlStatement);
}).then(result=>{
return result;
}).catch(err=>{
console.log(err);
});
I need to know either:
A. How to use pools together with ProcedureManager
or
B. an expanded code snippet showing how to detect the additional results using query
The text was updated successfully, but these errors were encountered:
While the resolution to issue #113 technically speaks to my problem, I'm just calling my stored proc in the context of a regular query issued from a pool, and cannot figure out how to adapt the example you gave in #113 that uses the ProcedureManager
I need to know either:
A. How to use pools together with ProcedureManager
or
B. an expanded code snippet showing how to detect the additional results using query
The text was updated successfully, but these errors were encountered: