couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Re: Most recent or first results by custom ID
Date Sun, 20 Oct 2013 12:21:05 GMT

There's a good answer there from 2 days ago that correctly points out that to achieve the
"If any one unit has been tested more than once, only measurement results from the first test
should be included." requires a different document model than the one in your post. Specifically,
use one document for the set of measurements and then you can emit just the latest one.


On 16 Oct 2013, at 11:40, Fredrik Karlsson <> wrote:

> Hi everyone! 
> I posted this question on SO but haven't got much attention yet. Hope the title isn't
misleading. I would be very grateful if any CouchDB experts could help me out! The problem
I'm having is the only thing stopping me from proceeding forwards with CouchDB's awesome featureset
(the replication and the changes feed is for me in this case a real dealmaker and I haven't
found any viable alternatives to it).
> SO link:
> This is my first time posting to a mailing list, so I hope I'm doing it right...
> Regards,
> Fredrik

View raw message