@xuda.io/xuda-dbs-plugin-xuda 1.0.68 → 1.0.70
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 +3 -3
- package/setup.mjs +1 -1
package/package.json
CHANGED
package/server.js
CHANGED
@@ -399,7 +399,7 @@ const query_db = async function (e, db, app_id_reference, table_obj) {
|
|
399
399
|
var skip = 0;
|
400
400
|
|
401
401
|
if (e.limit) {
|
402
|
-
limit =
|
402
|
+
limit = Number(e.limit);
|
403
403
|
}
|
404
404
|
|
405
405
|
if (e.skip) {
|
@@ -530,7 +530,7 @@ const query_db = async function (e, db, app_id_reference, table_obj) {
|
|
530
530
|
}
|
531
531
|
}
|
532
532
|
|
533
|
-
if (val.filterType === "
|
533
|
+
if (val.filterType === "string") {
|
534
534
|
switch (val.type) {
|
535
535
|
case "contains":
|
536
536
|
operator = "$regex";
|
@@ -1368,7 +1368,7 @@ exports.read = async (params, setup_doc, resolve, reject) => {
|
|
1368
1368
|
// }
|
1369
1369
|
// }
|
1370
1370
|
|
1371
|
-
// if (val.filterType === "
|
1371
|
+
// if (val.filterType === "string") {
|
1372
1372
|
// switch (val.type) {
|
1373
1373
|
// case "contains":
|
1374
1374
|
// operator = "$regex";
|