incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Pulling more docs into update handler
Date Tue, 15 Oct 2013 21:00:41 GMT
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 <siriele2x3@gmail.com> 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.
> 
> 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


Mime
View raw message