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 B8E691020B for ; Tue, 15 Oct 2013 20:56:33 +0000 (UTC) Received: (qmail 87317 invoked by uid 500); 15 Oct 2013 20:56:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 87202 invoked by uid 500); 15 Oct 2013 20:56:31 -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 87188 invoked by uid 99); 15 Oct 2013 20:56:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 20:56:29 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of siriele2x3@gmail.com designates 209.85.216.51 as permitted sender) Received: from [209.85.216.51] (HELO mail-qa0-f51.google.com) (209.85.216.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 20:56:24 +0000 Received: by mail-qa0-f51.google.com with SMTP id ii20so3764606qab.10 for ; Tue, 15 Oct 2013 13:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pFloWBUicXDe5SCZJrG0npQ3K5IdHSKhPsaobp38F/k=; b=wDDY5NeKosjWa/EciIIy6oWr1undpL3PjMi+ozVkPMw4HLJBJ7j4TVAlAbRFia6Twj MPjznLRB61OaRgioOCG1lbjMkrzxsw9HdemXerGncfG2/Z8/VkAMVcnJWvkINKXNm6Q5 XEnb+n0UI6f9+dCuyFvOsBO6jzxe2S/Wl0InYUA5iWlXyI/fqyumbD+qGE4EZgOdUTtp /qdrIyzbqAQXffE9WxSp1c2HWx8wOD0znadmoZk5WkOBSYcEH+i/0O4YKlUEQNrmoiSm NGU9heEtxReWO2+pq2AMHddX7qyWYI/6Ns4e85zYv5gUeDCMcGn7TdPpnj/VKLCvwt2d Pu2Q== MIME-Version: 1.0 X-Received: by 10.224.98.200 with SMTP id r8mr46904435qan.26.1381870563897; Tue, 15 Oct 2013 13:56:03 -0700 (PDT) Received: by 10.96.72.76 with HTTP; Tue, 15 Oct 2013 13:56:03 -0700 (PDT) Received: by 10.96.72.76 with HTTP; Tue, 15 Oct 2013 13:56:03 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Oct 2013 13:56:03 -0700 Message-ID: Subject: Pulling more docs into update handler From: Stanley Iriele To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=089e01536b7c16496604e8cdd0bc X-Virus-Checked: Checked by ClamAV on apache.org --089e01536b7c16496604e8cdd0bc Content-Type: text/plain; charset=ISO-8859-1 How bad of an idea would it be to add some parameter like include_doc to the update_handler that takes a doc Id..and that doc I'd gets included in the parameters. So the the method signature would be. function ( doc, req, included) Where included is either one doc or an array or docs....( depending on how it gets implemented). I just think it would be invaluable to have such power in an update handler.. But honestly one doc would be enough for me --089e01536b7c16496604e8cdd0bc--