Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.
This repository was 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

Description

@afeld

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions