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
Executes an SQL query and returns an AsyncRowIterator to process the result set.
This is a promisified version of Connection.execSql().
This variant returns an AsyncIterator that allows processing the rows as soon
as they arrive from the database server.
Usage:
constrequest=newTedious.Request("select name from sys.databases",()=>{});constiterator=ConnectionPromises.execSqlIterator(connection,request);forawait(constrowofiterator){console.log(row);}