-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$filter "truthy" condition returns incorrect results #320
Labels
Comments
Please note that mongo filters out null and false but does NOT filter out empty string |
It appears $cond is inconsistent with mongo on empty string. I prefer mingo's implementation but for consistency.
Mingo
Mongo
|
Will address all remaining cases in #321. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using $filter with a "truthy" condition it filters out all results.
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: