Can i do unique constraint on some attribute not the id

@dmitryb Unfortunately I don’t think that is a design goal of Couchbase, which was never built to ensure field constraints (as having fields isn’t even a given in Couchbase…).
I’ll ping @cihangirb here nonetheless, so that the PM team is aware of your question/suggestion.