Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Add more details around querying null/non-existent values #220

Open
afeld opened this issue Jun 19, 2013 · 0 comments
Open

Add more details around querying null/non-existent values #220

afeld opened this issue Jun 19, 2013 · 0 comments
Milestone

Comments

@afeld
Copy link

afeld commented Jun 19, 2013

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant