couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <>
Subject Re: Reduce to nothing
Date Fri, 06 Feb 2009 19:12:41 GMT
On Thu, Feb 5, 2009 at 11:55 PM, Brian Candler <> wrote:
> Nearest I can think of is to collate your view such that the cancellation
> comes immediately after the thing:
>  ["thing1","thing"]
>  ["thing1","cancellation"]
> Then the client can see that these two are adjacent and easily check if the
> item has been cancelled.

This is the right way to do it. If you put the cancellation just
*before* the item it cancels, then you can even have a proxy "hide"
the canceled items in constant space with no buffering.

Chris Anderson

View raw message