Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B2B4EF78 for ; Mon, 11 Feb 2013 17:34:16 +0000 (UTC) Received: (qmail 64616 invoked by uid 500); 11 Feb 2013 17:34:14 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 64491 invoked by uid 500); 11 Feb 2013 17:34:14 -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 64483 invoked by uid 99); 11 Feb 2013 17:34:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 17:34:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kxepal@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-we0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 17:34:09 +0000 Received: by mail-we0-f178.google.com with SMTP id x48so5045370wey.37 for ; Mon, 11 Feb 2013 09:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=po0pVBeYpbgDLl1DA7FDJOhtQSVeh0taRGB9Skxli8k=; b=p9Y1cuwjA3tuYtshXzVt5clJ/teIMcDTx3VeWIByQApa7b0CdvDTItvkzLn0s/epHc HcgXlrDILJjh8BK1ZqxPagCnIn8Y39uQSJEgKn64tAWCrRW193FGvbtv4henyT9nuSzr lgHHR4MEaIkzTdRY7xXQfz76PBb9kdGtPaBZF5oYqVGUIN28pAa7pyBLGuKnXNhGg7nY /xvISksX1L2gbtWS/yGmcEGA27h0XKmyOF3DBbVU1N6ZTPWCi61UpO04hPClkaT0NDmQ omMKR1BG1qNcrNUb6Mau5kFko++fVGCl3fQBlK7Ex5F25H7E7VQkDz/F8li8jnITbomS Tyug== MIME-Version: 1.0 X-Received: by 10.180.8.4 with SMTP id n4mr17572301wia.13.1360604027910; Mon, 11 Feb 2013 09:33:47 -0800 (PST) Received: by 10.180.86.225 with HTTP; Mon, 11 Feb 2013 09:33:47 -0800 (PST) In-Reply-To: References: Date: Mon, 11 Feb 2013 20:33:47 +0300 Message-ID: Subject: Re: new rev number on update? From: Alexander Shorin To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Feb 11, 2013 at 9:30 PM, Mark Hahn wrote: > I can't figure out how to have > my update handle return the new _rev along with the rest of the doc. > Creating new docs and watching changes both give me the correct new rev. Hi Mark, update functions returns new _rev value with X-Couch-Update-NewRev header -- ,,,^..^,,,