Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 73707 invoked from network); 17 Sep 2010 09:36:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Sep 2010 09:36:02 -0000 Received: (qmail 44397 invoked by uid 500); 17 Sep 2010 09:36:01 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 42738 invoked by uid 500); 17 Sep 2010 09:35:57 -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 42727 invoked by uid 99); 17 Sep 2010 09:35:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 09:35:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robert.newson@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-qw0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 09:35:52 +0000 Received: by qwf6 with SMTP id 6so2583170qwf.11 for ; Fri, 17 Sep 2010 02:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Xtv/3qVV9l00phL6qfk3fWnI921Vbq2ADvu6qUbczX0=; b=ZQ53j2/mSW39RxHfdfwTQeLqclUlx8uVVHz/QuGZ163eIpfRwtppkOvycHJzn7ngEG HveKQjCK3WV6mdgzEZrPYvymTR5+WfKWVmtzEd8wj7omF6y3U6YtqmWptqT2+8JK7s2b rE6OHx3+hqSCZXWOBKJ+vMDQtQtnH4dAcJCio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XqQpZoS3Z7NUiPLBI3FvkbKjo2rnfLk0Bii07jck/OMNl9MTXpvj8T2LGkl/Jeod5l +Ug+onl8NjMHUYTvXAl8k5F1Xy0Hl5okFa4qaDD7vJPgPUmcP8RAvNlSVfsP9yNIZho4 eKWlRPD1fW9bGWgtcCaj2Dn17lYS6Y+cDokpk= MIME-Version: 1.0 Received: by 10.229.82.211 with SMTP id c19mr2988398qcl.262.1284716131158; Fri, 17 Sep 2010 02:35:31 -0700 (PDT) Received: by 10.229.51.200 with HTTP; Fri, 17 Sep 2010 02:35:30 -0700 (PDT) In-Reply-To: References: <4C9345C2020000A5000945F6@cputpri.cput.ac.za> Date: Fri, 17 Sep 2010 10:35:30 +0100 Message-ID: Subject: Re: Duplication of unique keys From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 document ids are unique; you can't have duplicates, which makes the original post a little hard to understand. B. On Fri, Sep 17, 2010 at 10:23 AM, Dave Cottlehuber wrote: > Hi Babawala > > If you are creating your own UUIDs or using the system generated one, > doc.id should be enforced as unique. what exactly is being duplicated > - got an example? > > A+ > Dave > > On 17 September 2010 20:41, BABALWA MAGALELA <208179585@cput.ac.za> wrote: >> My group and I have created a medical record system. The problem is, in >> the patient class, when we try to have unique ID's to identify the >> patients with, we saw that dupication of that "unique" key is possible. >> Could someone refer me so any solution? >> -------------------------------------------------------------------- >> Disclaimer >> This e-mail transmission contains confidential information, >> which is the property of the sender. >> The information in this e-mail or attachments thereto is >> intended for the attention and use only of the addressee. >> Should you have received this e-mail in error, please delete >> and destroy it and any attachments thereto immediately. >> Under no circumstances will the Cape Peninsula University of >> Technology or the sender of this e-mail be liable to any party for >> any direct, indirect, special or other consequential damages for any >> use of this e-mail. >> For the detailed e-mail disclaimer please refer to >> http://www.cput.ac.za/email.php or call +27 (0)21 460 3911 >> >