@xuda.io/xuda-dbs-plugin-xuda 1.0.83 → 1.0.85
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 +2 -1
package/package.json
CHANGED
package/server.js
CHANGED
@@ -515,7 +515,7 @@ const query_db = async function (e, db, app_id_reference, table_obj) {
|
|
515
515
|
}
|
516
516
|
}
|
517
517
|
|
518
|
-
if (val.filterType === "string") {
|
518
|
+
if (val.filterType === "string" || val.filterType === "text") {
|
519
519
|
switch (val.type) {
|
520
520
|
case "contains":
|
521
521
|
operator = "$regex";
|
@@ -705,6 +705,7 @@ const query_db = async function (e, db, app_id_reference, table_obj) {
|
|
705
705
|
|
706
706
|
try {
|
707
707
|
try {
|
708
|
+
console.log("opt", opt);
|
708
709
|
const doc = await db.find(opt);
|
709
710
|
|
710
711
|
if (doc?.warning?.includes("No matching index found")) {
|