Skip to content

$in operator not behaving like mongodb #706

Open

Description

Hello,

$in operator behaves differently in mongomock than in mongodb.

For this document {'key': []}
Do a find with filter {'key': {'$in': [None, '', []]}} will not match the document in mongomock, but will match the document in mongodb.

Thanks for your help,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions