incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cory Zue <c...@dimagi.com>
Subject Re: Reporting in CouchDB
Date Tue, 27 Jul 2010 14:26:26 GMT
On Tue, Jul 27, 2010 at 10:22 AM, Luke Driscoll <luke.driscoll@gmail.com> wrote:
> If I understand what you're saying, I think you could make your key:
> [siteid, year, month, day]
>
> Then when you call reduce you could set the group_level to 1, 2, 3 or 4, to
> granulate by siteid, year, month and day respectively

Brilliant, thanks!  Didn't know about group_level...

Mime
View raw message