You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The thing about this is it must look at every document to figure out the results. When using find {} it's obvious that's happening. The expensiveness of it would be surprising to users. I suggest we close this bug.
You cannot have every clause be negated as it's a very resource intensive
operation. Query need at least one non-negated clauses. There are two
workarounds:
- Do a `find {}` and filter out the results in your application
- Add a field that will always match and use it in your condition. Example:
find {alwaystrue: == true && foo: !~= "bar"}
Add this information to the language reference and the repl-tests.
Fixespipedown#28.
When you negate all your operators like:
you get this error:
But as we now have
find {}
it makes sense to also support those queries.The text was updated successfully, but these errors were encountered: