Skip to content

Modify does not return an error on duplicate key #128

@Kozaky

Description

@Kozaky

I have noticed that modify does not produce a duplicate key error when I try to update the field 'email' for an already in-use email. However, I see that the same query does produce an error in MongoDB if I do it manually.

Is this behaviour expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions