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 230C31023D for ; Tue, 15 Oct 2013 21:01:18 +0000 (UTC) Received: (qmail 2380 invoked by uid 500); 15 Oct 2013 21:01:15 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 2135 invoked by uid 500); 15 Oct 2013 21:01:15 -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 2127 invoked by uid 99); 15 Oct 2013 21:01:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 21:01: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 (nike.apache.org: domain of robert.newson@gmail.com designates 209.85.212.178 as permitted sender) Received: from [209.85.212.178] (HELO mail-wi0-f178.google.com) (209.85.212.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 21:01:06 +0000 Received: by mail-wi0-f178.google.com with SMTP id hn9so2261254wib.17 for ; Tue, 15 Oct 2013 14:00:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=dTp/lCAguHVDWBVMz5dqPW3Q3CvDJJI487X4DJsWGF8=; b=SofgjuvLRnY7TcANJymmw35CVQqlq0UbLR+AcYXTG4ipIjFlEw2SqoFqaGvLzeH4a0 PrEdeH/YOPZPxZznBENCBrBDplJnjRhoB0gJ9F3oMjmSSmYCThhmbY/W5Z7CGagNah4L /l8g9D0yj8PU7Xi391CEcxhU5Vyp/SImYMDQKughEDDqk4brMz8Rv+qemzwxgXWGIgam BZOKrCQwJIO748VOV9ZUMhXI4dgGY47IC26t+0BXXuA4im8wrw8Pa7KgwD+BsUhWS6Vi X5MlwdVEvDFGXcx/C6CdSt1KXXSbMj6LQFypkWq68GhlvKLoQ2b9QG64bK6S95NEWVk5 9XfA== X-Received: by 10.194.94.167 with SMTP id dd7mr4114958wjb.43.1381870846612; Tue, 15 Oct 2013 14:00:46 -0700 (PDT) Received: from [192.168.1.4] (79-77-214-165.dynamic.dsl.as9105.com. [79.77.214.165]) by mx.google.com with ESMTPSA id s4sm272073wiy.1.2013.10.15.14.00.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Oct 2013 14:00:46 -0700 (PDT) From: Robert Newson Content-Type: multipart/signed; boundary="Apple-Mail=_50C4A66A-1E0F-4228-9296-3A85C0431942"; protocol="application/pgp-signature"; micalg=pgp-sha512 Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Pulling more docs into update handler Date: Tue, 15 Oct 2013 22:00:41 +0100 References: To: user@couchdb.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_50C4A66A-1E0F-4228-9296-3A85C0431942 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 That would violate our fundamental approach that a document stands alone = (that we make no promises about *other* documents contents or even = presence). B. On 15 Oct 2013, at 21:56, Stanley Iriele wrote: > 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. >=20 > So the the method signature would be. >=20 > function ( doc, req, included) >=20 > Where included is either one doc or an array or docs....( depending on = how > it gets implemented). >=20 > I just think it would be invaluable to have such power in an update > handler.. But honestly one doc would be enough for me --Apple-Mail=_50C4A66A-1E0F-4228-9296-3A85C0431942 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJSXaz/AAoJEBAV9o+doki8U+kP/Ay98phmJ+vskPjJa+IbkL1B VXsEVGvv2q3+QYLOHpUVlTjzZOdoebkXKOMKxLIq7J2PTnLZC9ggfl02azQZG+j7 jZEK+Kfb81TyabEUVgqes8rIWANkY8JQzGFnQScevBGdb9HvAingqnTlJEx756n8 IOdebiX/iJTyUNA4PpuoOzCO04egJgX2m7hA/iyvz0Bo0FMfqMRmLacwxJ+jZVce 4wIqcmQLRZ1YP9KSGzdUoQqPY9Vgv5/tJ4/uU5ntqmj+oYcdMjkrS3DqILdzDet+ +yGyVcrUMs829MRjjVEix5yucUC5j7ZHVvQC1k0eNwyMRA3UqR0c+jcUUsAHMIFH JSWrLB0+wps0I6ps8U/0nhfpQu6Uea+LK4p8TNeZM3no1DvdK0PutwnDvByhBlFJ 94j7R+l0+AcpQX/7MSdCzulpDYapdKNRdIYA/0yqxMtHZM8PTb5RgqBN20GNQAtm 9lqLeL+Kg0Dcd+uulMG9OSTPIWjAZLbZxIt5I3d5UdhNGWyM68EJgovzZsBR2fyt KyvjJIZk0AJyOmF22lNBTeaF2vrRoqpu/ZOL7K1Fn89V1HM4LR8bl17KU33TYzZV PneY8+6pnJw167WeCAfhmk1RjS/4fqGG172tYHR0Zah9VfU4mCiiTqHV8QSgs53u wyLNhC5YQhNzu2/TijMG =/FRc -----END PGP SIGNATURE----- --Apple-Mail=_50C4A66A-1E0F-4228-9296-3A85C0431942--