Fix bug in Mongo query conversion
This commit is contained in:
1 parent
991ca16e03
commit
518254aa55
1 file changed
+1
-1
@@ -376,7 +376,7 @@ function mongoQueryToFilter(query) {
|
|||||||
}
|
}
|
||||||
} else if (k.startsWith("Tags.")) {
|
} else if (k.startsWith("Tags.")) {
|
||||||
expressions.push([
|
expressions.push([
|
||||||
`IS${v["$exists"] ? " " : " NOT "}NULL`,
|
v["$exists"] ? "IS NOT NULL" : "IS NULL",
|
||||||
["PARAM", k]
|
["PARAM", k]
|
||||||
]);
|
]);
|
||||||
} else if (typeof v === "object") {
|
} else if (typeof v === "object") {
|
||||||
|
|||||||
Reference in new issue
Block a user