@xuda.io/xuda-worker-bundle-min 1.3.829 → 1.3.830

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 +3 -18
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1933,7 +1933,9 @@ func.datasource.prepare = async function (
1933
1933
  SESSION_OBJ[SESSION_ID].dataSourceSessionGlobal++;
1934
1934
  }
1935
1935
  dataSourceSession = SESSION_OBJ[SESSION_ID].dataSourceSessionGlobal;
1936
- SESSION_OBJ[SESSION_ID].DS_GLB[dataSourceSession] = {};
1936
+ SESSION_OBJ[SESSION_ID].DS_GLB[dataSourceSession] = {
1937
+ data_feed: { rows: [] },
1938
+ };
1937
1939
  };
1938
1940
  const init_existing_dataSource = function () {
1939
1941
  let _ds = SESSION_OBJ[SESSION_ID].DS_GLB[dataSourceNoP];
@@ -2354,23 +2356,6 @@ func.datasource.execute = async function (
2354
2356
  filterModel
2355
2357
  );
2356
2358
 
2357
- // _ds.v.raw_data = await func.db.get_query(
2358
- // SESSION_ID,
2359
- // _ds._dataSourceTableId,
2360
- // _ds.v.couchView,
2361
- // dataSourceSession,
2362
- // _ds.viewSourceDesc,
2363
- // "datasource table",
2364
- // prog_obj.progDataSource.dataSourceReduce,
2365
- // await get_skip(),
2366
- // (await get_limit()) || 99999999,
2367
- // null,
2368
- // null,
2369
- // _ds?.progDataSource?.sortModel,
2370
- // null,
2371
- // filterModel
2372
- // );
2373
-
2374
2359
  const ret_rows_found = await func.db.get_query(
2375
2360
  SESSION_ID,
2376
2361
  _ds._dataSourceTableId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.829",
3
+ "version": "1.3.830",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {