Is there any way to apply unique constraint in couchdb
?
Suppose I have a document which have some fields like email
, emp_id
, phone_number
that needs to be unique throughout the document. I could not find any way. Anyone knows how to achieve this?
Any answer/suggestion would be appreciated.