Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 9797 invoked from network); 11 Nov 2010 14:59:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 14:59:18 -0000 Received: (qmail 93419 invoked by uid 500); 11 Nov 2010 14:59:48 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 93246 invoked by uid 500); 11 Nov 2010 14:59:47 -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 93238 invoked by uid 99); 11 Nov 2010 14:59:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 14:59:47 +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 wordituk@googlemail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-gw0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 14:59:42 +0000 Received: by gwj22 with SMTP id 22so1259114gwj.11 for ; Thu, 11 Nov 2010 06:59:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=/DqF147Ib+pYr57AcyMgdzxrAvCFzaeAyVOImeE5+m4=; b=UqVM6EMUQetquyrI4WvMVBZVdqNAfFKmOsCvrFD0WuzwnmUps71wyBbztvqRZNUE4H 8FORY/EF+zyh/aY2RdFusEMP4xoDT07OLdeJ5zuAVDmARi1GX75hlUtWqoBVMF/i9ju7 RAKsFUZxtXfwwsB1nAHRpzQ8ayqVttwD0IY/w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=HdMQyxNAFCjwumfL7kgh0DHnD1vdMbxF76AJkRKp2PrmIzsOuCZh6nq7l9fmdGFvm7 vSJCN4alyUmvBcnRON1HZ78foNQaY/EkudWX9tAKW2bfTYFyxk8ZsgVpV+m527Zign4p ZxAPt8VX23TNCR/Utyo6lASRxI4UJ7c4JRG7M= Received: by 10.90.73.4 with SMTP id v4mr1532568aga.163.1289487561012; Thu, 11 Nov 2010 06:59:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.14.12 with HTTP; Thu, 11 Nov 2010 06:59:00 -0800 (PST) From: Wordit Ltd Date: Thu, 11 Nov 2010 15:59:00 +0100 Message-ID: Subject: Update handler doc ids To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Do update handlers require the doc id, or is it possible to search for the doc as with views? I need to update the document belonging to the logged in user. (I'll use a validation function to check that.) The only workaround I could think of is using the username as the doc id. Then I call the update handler with .../handler/username?param=x Marcus