@xuda.io/xuda-worker-bundle-min 1.3.2327 → 1.3.2328
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/index.js +3 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2012,9 +2012,12 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2012
2012
|
if (_ds?.progDataSource?.dataSourceLimit) {
|
|
2013
2013
|
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);
|
|
2014
2014
|
_ds.rows_found = ret_rows_found?.rows?.[0]?.value || 0;
|
|
2015
|
+
_ds.rows_found_opt = ret_rows_found?.opt;
|
|
2015
2016
|
} else {
|
|
2016
2017
|
_ds.rows_found = _ds?.v?.raw_data?.rows?.length || 0;
|
|
2018
|
+
_ds.rows_found_opt = _ds?.v?.raw_data?.opt;
|
|
2017
2019
|
}
|
|
2020
|
+
|
|
2018
2021
|
break;
|
|
2019
2022
|
}
|
|
2020
2023
|
case 'array': {
|