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
{{ message }}
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.
I've been using Mongoid for years and I still find this confusing: if you have a field that is boolean, for example, how do you query for documents where the field is either not present, null or false? I know part of this issue rests on the MongoDB query syntax being somewhat vague about how things like .find({myfield: null}) should be handled.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've been using Mongoid for years and I still find this confusing: if you have a field that is boolean, for example, how do you query for documents where the field is either not present,
null
orfalse
? I know part of this issue rests on the MongoDB query syntax being somewhat vague about how things like.find({myfield: null})
should be handled.The text was updated successfully, but these errors were encountered: