@xuda.io/runtime-bundle 1.0.1302 → 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.
- package/js/xuda-runtime-bundle.js +3 -0
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +3 -0
- package/js/xuda-runtime-slim.min.es.js +3 -0
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +3 -0
- package/js/xuda-worker-bundle.js +3 -0
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -3636,9 +3636,12 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
3636
3636
|
if (_ds?.progDataSource?.dataSourceLimit) {
|
|
3637
3637
|
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);
|
|
3638
3638
|
_ds.rows_found = ret_rows_found?.rows?.[0]?.value || 0;
|
|
3639
|
+
_ds.rows_found_opt = ret_rows_found?.opt;
|
|
3639
3640
|
} else {
|
|
3640
3641
|
_ds.rows_found = _ds?.v?.raw_data?.rows?.length || 0;
|
|
3642
|
+
_ds.rows_found_opt = _ds?.v?.raw_data?.opt;
|
|
3641
3643
|
}
|
|
3644
|
+
|
|
3642
3645
|
break;
|
|
3643
3646
|
}
|
|
3644
3647
|
case 'array': {
|
|
@@ -3637,9 +3637,12 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
3637
3637
|
if (_ds?.progDataSource?.dataSourceLimit) {
|
|
3638
3638
|
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);
|
|
3639
3639
|
_ds.rows_found = ret_rows_found?.rows?.[0]?.value || 0;
|
|
3640
|
+
_ds.rows_found_opt = ret_rows_found?.opt;
|
|
3640
3641
|
} else {
|
|
3641
3642
|
_ds.rows_found = _ds?.v?.raw_data?.rows?.length || 0;
|
|
3643
|
+
_ds.rows_found_opt = _ds?.v?.raw_data?.opt;
|
|
3642
3644
|
}
|
|
3645
|
+
|
|
3643
3646
|
break;
|
|
3644
3647
|
}
|
|
3645
3648
|
case 'array': {
|