@bdkinc/knex-ibmi 0.3.11 → 0.3.12

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -473,10 +473,10 @@ var DB2Client = class extends import_knex.knex.Client {
473
473
  if (error2) {
474
474
  printError(JSON.stringify(error2, null, 2));
475
475
  }
476
+ this.push(result);
476
477
  if (!cursor.noData) {
477
478
  this.push(result);
478
479
  } else {
479
- this.push(null);
480
480
  cursor.close((error3) => {
481
481
  if (error3) {
482
482
  printError(JSON.stringify(error3, null, 2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bdkinc/knex-ibmi",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "Knex dialect for IBMi",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",