Skip to content

Define some data in db.json as unique #772

@filepi

Description

@filepi

Hello, I'm new using json-server then I would like to know if it is possible set some data to be unique. Let's say, for example, that my json server should not allow user to insert a register with the same name. And return an error if user tries to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions