Skip to content

Error when updating if field is unique on Mongo #197

@jadsonlourenco

Description

@jadsonlourenco

I set the field order as unique on the collection schema, but if change the order of the item I receive the error: dup key: {: 1}.

How can do this, set the order as unique and can update? (I'm using Collection2 for the schema.)

Thanks alot for this package.

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