Fix bug in mongoQueryToFilter
This commit is contained in:
1 parent
f135be403c
commit
ab27ebfaef
2 files changed
+10
-3
No files matched your search
@@ -32,6 +32,10 @@ ava("mongoQueryToFilter", t => {
|
||||
[
|
||||
{ test: { $gte: "test1", $ne: "test2" } },
|
||||
'test >= "test1" AND test <> "test2"'
|
||||
],
|
||||
[
|
||||
{ test: "test", test2: { $ne: "test2" } },
|
||||
'test = "test" AND test2 <> "test2"'
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user