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? Cheers, Zach
