@bdkinc/knex-ibmi 0.3.18 → 0.3.19
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 +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -475,11 +475,14 @@ var DB2Client = class extends import_knex.knex.Client {
|
|
|
475
475
|
if (!cursor.noData) {
|
|
476
476
|
this.push(result);
|
|
477
477
|
} else {
|
|
478
|
-
console.log({ result });
|
|
479
478
|
cursor.close((error3) => {
|
|
480
479
|
if (error3) {
|
|
481
480
|
console.log(JSON.stringify(error3, null, 2));
|
|
482
481
|
}
|
|
482
|
+
if (result) {
|
|
483
|
+
console.log({ result });
|
|
484
|
+
this.push(result);
|
|
485
|
+
}
|
|
483
486
|
});
|
|
484
487
|
}
|
|
485
488
|
});
|