@bdkinc/knex-ibmi 0.3.8 → 0.3.9
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 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -469,7 +469,7 @@ var DB2Client = class extends import_knex.knex.Client {
|
|
|
469
469
|
if (!cursor.noData) {
|
|
470
470
|
this.push(result);
|
|
471
471
|
} else {
|
|
472
|
-
this.push(result);
|
|
472
|
+
result && Array.isArray(result) ? this.push(result) : this.push(null);
|
|
473
473
|
cursor.close((error2) => {
|
|
474
474
|
if (error2) {
|
|
475
475
|
console.log(error2);
|