@xuda.io/runtime-bundle 1.0.1301 → 1.0.1303

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.
@@ -24917,6 +24917,7 @@ func.utils.debug.log = async function (SESSION_ID, node_idP, jsonP) {
24917
24917
  const debug_utils = await func.common.get_module(SESSION_ID, 'xuda-debug-utils-module.mjs');
24918
24918
 
24919
24919
  debug_utils.log(SESSION_ID, node_idP, jsonP);
24920
+ console.error(jsonP);
24920
24921
  };
24921
24922
  func.utils.debug.write = async function (SESSION_ID, logP, callbackP) {
24922
24923
  if (!glb.DEBUG_MODE) return;
@@ -29031,9 +29032,12 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
29031
29032
  if (_ds?.progDataSource?.dataSourceLimit) {
29032
29033
  const ret_rows_found = await func.db.get_query(SESSION_ID, _ds._dataSourceTableId, _ds.v.couchView, dataSourceSession, _ds.viewSourceDesc, 'datasource table', prog_obj.progDataSource.dataSourceReduce, null, null, true, null, null, null, filterModel, _dataSourceFilterModelType);
29033
29034
  _ds.rows_found = ret_rows_found?.rows?.[0]?.value || 0;
29035
+ _ds.rows_found_opt = ret_rows_found?.opt;
29034
29036
  } else {
29035
29037
  _ds.rows_found = _ds?.v?.raw_data?.rows?.length || 0;
29038
+ _ds.rows_found_opt = _ds?.v?.raw_data?.opt;
29036
29039
  }
29040
+
29037
29041
  break;
29038
29042
  }
29039
29043
  case 'array': {