Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 98040 invoked from network); 30 Jun 2009 20:32:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jun 2009 20:32:29 -0000 Received: (qmail 3098 invoked by uid 500); 30 Jun 2009 20:32:39 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 3049 invoked by uid 500); 30 Jun 2009 20:32:39 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 3039 invoked by uid 99); 30 Jun 2009 20:32:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 20:32:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of zachary.zolton@gmail.com designates 209.85.220.228 as permitted sender) Received: from [209.85.220.228] (HELO mail-fx0-f228.google.com) (209.85.220.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 20:32:29 +0000 Received: by fxm28 with SMTP id 28so521136fxm.11 for ; Tue, 30 Jun 2009 13:32:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=Tw5cWT4L5EphhqZqk8+gbd+fM4i2xr5NtVAlU+HQ0sM=; b=xVs4u3tmCYI5jguQ6LOhjwgOtuBS6Gc0VWiENjFP4C4U2mpJCxwyGKEbebrE2dXbHW HmI8tqj4adn0eDc28HmiQxu2aQqG4lNu57Fb6ADGwm3b24DXsPTNTEakk9zT599Kh+L7 soMig93+1AtrQRqE8ionD7haywH3D+OHtVCx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=aA+9yG/GEKAxqedcrQjv/nR0NLmRGS9Y5mrNR//Ebaaj2xgvhVFSacaMNBuCr5iVCu eOHqCQb26rgNO6lec/NKSWmgT0Hxtd0VpwA1InyI/GA7YxcvPa6G1E/OSRMqbr5qh+qL VbDTRedX1Lu+jrD/JFGoUHDVaV3OOb+EcEyfI= MIME-Version: 1.0 Received: by 10.204.59.135 with SMTP id l7mr8752672bkh.13.1246393928321; Tue, 30 Jun 2009 13:32:08 -0700 (PDT) From: Zachary Zolton Date: Tue, 30 Jun 2009 15:31:48 -0500 Message-ID: Subject: User Uniqueness Validation To: user@couchdb.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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=97and is significant to my URL scheme=97I'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