@xuda.io/xuda-worker-bundle-min 1.3.413 → 1.3.415
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 +9 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -374,9 +374,14 @@ func.common.db = async function (
|
|
|
374
374
|
|
|
375
375
|
delete _data.fields;
|
|
376
376
|
delete _data.viewSourceDesc;
|
|
377
|
-
if (_data.skip === null) {
|
|
378
|
-
|
|
379
|
-
|
|
377
|
+
// if (_data.skip === null) {
|
|
378
|
+
delete _data.skip;
|
|
379
|
+
delete _data.limit;
|
|
380
|
+
delete _data.count;
|
|
381
|
+
// }
|
|
382
|
+
// if (_data.reduce) {
|
|
383
|
+
delete _data.reduce;
|
|
384
|
+
// }
|
|
380
385
|
const rep_id = cleanString(_data);
|
|
381
386
|
|
|
382
387
|
////// validate existence of whole table request
|
|
@@ -430,6 +435,7 @@ func.common.db = async function (
|
|
|
430
435
|
docType: "rep_request",
|
|
431
436
|
table_id: dataP.table_id,
|
|
432
437
|
entire_table: table_req_id === rep_id,
|
|
438
|
+
source: "runtime",
|
|
433
439
|
});
|
|
434
440
|
}
|
|
435
441
|
func.db.pouch.set_db_replication_from_server(SESSION_ID, rep_id);
|