couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Bourne <carl.bou...@me.com>
Subject Re: Help with reduce function
Date Sat, 06 Oct 2012 21:12:50 GMT
Yes - exactly! 

Which was why I was hoping the reduce function would help. I have managed to do this using
some additional middleware (Ruby Sinatra), but that seems to defeat the purpose of using something
like Couch in the first place!

Carl Bourne | Senior Sales Engineer | mobile: +44 (0) 7770 284294 | www.venafi.com

On 6 Oct 2012, at 21:58, Aurélien Bénel <aurelien.benel@utt.fr> wrote:

>> I still not understand why you need to count the docs with the same exact timestamp
> 
> Ah I think I understand now... You want to select by (exact) date but group by countries.
> Hmm, then it's not hierarchical, you have two different dimensions. Then my solution
cannot help you. Sorry.
> 
> 
> Regards,
> 
> Aurélien
> 
> 

Mime
View raw message