Re: Ordered view reduce

2013-12-20 Thread Jens Alfke
On Dec 20, 2013, at 2:19 PM, Jens Rantil wrote: > The current implementation only supports basic projections because reduce > input order is undefined in Couch. I _think_ that in a standard CouchDB (but not BigCouch) the rows are passed to the reduce function in ascending key order. > I've he

Ordered view reduce

2013-12-20 Thread Jens Rantil
Hi, I've been playing around with CouchDB for event sourcing[1] (terminology from DDD and CQRS). Basically I have a series of ordered events persisted to Couch and I've been creating simple projections basic these. The ID of a new event will be strictly greater that all previous events for its agg