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 20:27:32 GMT
Thanks I thought I was missing something obvious!

So is it possible to build a reduce function to do this and use the expiry date as the key?


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

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

>> My documents have expiry dates and I need the ability to build queries that only
returns documents that have an expiry date between the startkey and endkey parameters.
> 
> I had no idea of your use case. So no, you don't need any group_level for that. 
> Sorry, I was fooled by your reduce function (I found weird to count docs with the exact
same timestamp).
> 
> 
> Regards,
> 
> Aurélien

Mime
View raw message