scripting engine

This commit is contained in:
Jan Prochazka
2020-06-11 10:09:04 +02:00
parent ca079d5dce
commit f68bdafd9f
11 changed files with 127 additions and 28 deletions

View File

@@ -164,6 +164,10 @@ const driver = {
});
request.stream = true;
request.on('recordset', (driverColumns) => {
const [columns, mapper] = extractColumns(driverColumns);
pass.write({ columns });
});
request.on('row', (row) => pass.write(row));
request.on('error', (err) => {
console.error(err);