@bdkinc/knex-ibmi 0.3.16 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -475,8 +475,12 @@ var DB2Client = class extends import_knex.knex.Client {
|
|
|
475
475
|
if (!cursor.noData) {
|
|
476
476
|
this.push(result);
|
|
477
477
|
} else {
|
|
478
|
-
|
|
479
|
-
cursor.close()
|
|
478
|
+
console.log({ result });
|
|
479
|
+
cursor.close((error3) => {
|
|
480
|
+
if (error3) {
|
|
481
|
+
console.log(JSON.stringify(error3, null, 2));
|
|
482
|
+
}
|
|
483
|
+
});
|
|
480
484
|
}
|
|
481
485
|
});
|
|
482
486
|
}
|