couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <>
Subject User Uniqueness Validation
Date Tue, 30 Jun 2009 20:31:48 GMT
Ohai CouchDB Users,

So, I've got a situation where I want to maintain a CouchDB database
of users that have a user name and email address. Given that the user
name needs to be unique—and is significant to my URL scheme—I've
chosen to use that as the document ID.

However, I'd also like to maintain uniqueness of the email addresses
across users... Any ideas about how to best accomplish this?



View raw message