@bdkinc/knex-ibmi 0.3.12 → 0.3.13
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 +1 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -471,17 +471,10 @@ var DB2Client = class extends import_knex.knex.Client {
|
|
|
471
471
|
read() {
|
|
472
472
|
cursor.fetch((error2, result) => {
|
|
473
473
|
if (error2) {
|
|
474
|
-
|
|
474
|
+
console.log(JSON.stringify(error2, null, 2));
|
|
475
475
|
}
|
|
476
|
-
this.push(result);
|
|
477
476
|
if (!cursor.noData) {
|
|
478
477
|
this.push(result);
|
|
479
|
-
} else {
|
|
480
|
-
cursor.close((error3) => {
|
|
481
|
-
if (error3) {
|
|
482
|
-
printError(JSON.stringify(error3, null, 2));
|
|
483
|
-
}
|
|
484
|
-
});
|
|
485
478
|
}
|
|
486
479
|
});
|
|
487
480
|
}
|