From user-return-18152-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sat Oct 1 20:40:56 2011 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 9C59B9435 for ; Sat, 1 Oct 2011 20:40:56 +0000 (UTC) Received: (qmail 95503 invoked by uid 500); 1 Oct 2011 20:40:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 95459 invoked by uid 500); 1 Oct 2011 20:40:55 -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 95451 invoked by uid 99); 1 Oct 2011 20:40:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 20:40:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vx0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 20:40:48 +0000 Received: by vcbf11 with SMTP id f11so3198985vcb.11 for ; Sat, 01 Oct 2011 13:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=5BKeSjLASLfh8rET45WLR4bv9mUspKUZEhwGo1Vxbec=; b=EjjryYXKFOE9udx46C4/0cNLLTg2d8Rnudp4csQJjolnLsrDp4IMpIuvNxbGBCBakl 5kQ9zfl2FQkXUSJpiv3KndKUv9K/AP43N5fuTI+VJhYB5tuxg8gbOKMIvzueE1vQoCBN DgeZfoYcDV8XaNsF+T6MZkwt4VK3uOCtch0hk= Received: by 10.52.94.99 with SMTP id db3mr13053053vdb.448.1317501628078; Sat, 01 Oct 2011 13:40:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.73.134 with HTTP; Sat, 1 Oct 2011 13:39:48 -0700 (PDT) In-Reply-To: <86ty7udo3f.fsf@gmail.com> References: <86ty7udo3f.fsf@gmail.com> From: Paul Davis Date: Sat, 1 Oct 2011 15:39:48 -0500 Message-ID: Subject: Re: Can an update funtion be run on the result of a view? To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Nope. Update functions can't make HTTP calls or be used on view output. On Fri, Sep 30, 2011 at 10:52 AM, bsquared wrote: > > I am asking in reference to the empty _id issue. =A0if a view is run that > returns a list of document revisions with empty id fields, can an update > be run on that list to mark the items deleted? > > Or, can a view be run from within an update to get the same result? > > -- > Regards, > Brian Winfrey > >