@xuda.io/xuda-dbs-plugin-xuda 1.0.90 → 1.0.92
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/package.json +1 -1
- package/server.js +5 -1
package/package.json
CHANGED
package/server.js
CHANGED
@@ -437,7 +437,7 @@ const query_db = async function (e, db, app_id_reference, table_obj) {
|
|
437
437
|
}
|
438
438
|
|
439
439
|
var opt = {
|
440
|
-
selector
|
440
|
+
selector,
|
441
441
|
limit: limit,
|
442
442
|
skip: skip,
|
443
443
|
fields: fields,
|
@@ -722,6 +722,10 @@ const query_db = async function (e, db, app_id_reference, table_obj) {
|
|
722
722
|
opt.fields.push("_id");
|
723
723
|
opt.fields.push("_rev");
|
724
724
|
|
725
|
+
if (e.selector) {
|
726
|
+
opt.selector = { ...e.selector, ...opt.selector };
|
727
|
+
}
|
728
|
+
|
725
729
|
// xuda
|
726
730
|
|
727
731
|
try {
|