Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 62745 invoked from network); 1 Jul 2010 07:40:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jul 2010 07:40:52 -0000 Received: (qmail 80463 invoked by uid 500); 1 Jul 2010 07:40:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 80385 invoked by uid 500); 1 Jul 2010 07:40:48 -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 80132 invoked by uid 99); 1 Jul 2010 07:40:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 07:40:48 +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 (nike.apache.org: domain of pawelstawicki@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 07:40:42 +0000 Received: by bwz17 with SMTP id 17so1624932bwz.11 for ; Thu, 01 Jul 2010 00:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=cym/fTDTN0kE+TtZGwRaf9kMCI9iCSbVbBcpkST3BFc=; b=JccLqqsUgGd1aMIndPrZFv5Nnc0K2AaE4MZSHTNjhCdzRmC6rDfpMR0lJRssjyKPit 0eLD2ojQWXKbjIur/WcGyteDUEPKHHr+GlKCO5KmzpmYekQdVIzdDUk6mwHNh3wgUg2j JIJR+hCi055vmaqy4G6TwvPOxEAQpTcRgV1bw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=AUO2JyfTOjwSuL9WFsDfvuh90AVbRihkfqmyeLhx5xGP+U/zxRixwb7pXsdn6ZhjJe ublQ74rwiEVq0lwJ5GGKO0uWm2pKdcnLIGW6szoRMoA/65JUReEA0C0BZ7Y3md3Onx4L 3EKJPsEBvlK15U0g9eKV++8gvHqtgAz6zeoO0= Received: by 10.204.83.228 with SMTP id g36mr6737727bkl.133.1277970021277; Thu, 01 Jul 2010 00:40:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.84.92 with HTTP; Thu, 1 Jul 2010 00:40:01 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Pawe=C5=82_Stawicki?= Date: Thu, 1 Jul 2010 09:40:01 +0200 Message-ID: Subject: Re: how to add fields to exist document To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I think (not tested) you just have to get document, add fields, and put it back to db. If _id is not empty, existing document with such _id should be updated. -- Pawe=C5=82 Stawicki http://pawelstawicki.blogspot.com http://szczecin.jug.pl On Thu, Jul 1, 2010 at 09:36, malka feldman wrote: > -- > Regards, Malka > Tribase LTD. > Elad >