CouchDB - partioned dates and group levels to control aggregation granularity
Quick and basic tip about how you can partition dates in your map and use that as an array key and then use different group-level values to perform aggregation on different granularity. Given that we have some simple documents representing sales: POST /sales/_bulk_docs {"docs":[ {&quo…
Daniel Wertheim