@xuda.io/xuda-worker-bundle-min 1.3.793 → 1.3.794

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/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2278,7 +2278,7 @@ func.datasource.execute = async function (
2278
2278
  _ds?.progDataSource?.sortModel
2279
2279
  );
2280
2280
  debugger;
2281
- _ds.rows_found = await func.db.get_query(
2281
+ const ret_rows_found = await func.db.get_query(
2282
2282
  SESSION_ID,
2283
2283
  _ds._dataSourceTableId,
2284
2284
  _ds.v.couchView,
@@ -2291,7 +2291,7 @@ func.datasource.execute = async function (
2291
2291
  true,
2292
2292
  null
2293
2293
  );
2294
-
2294
+ _ds.rows_found = ret_rows_found?.data?.[0]?.value || 0;
2295
2295
  break;
2296
2296
 
2297
2297
  case "array": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.793",
3
+ "version": "1.3.794",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {