Hi I just wanted to sanity check what I'm doing here.

I have a bunch of documents stored in Couch with expiry dates like this: 
"expire": "2020-07-28T15:13:00+00:00"

I have a simple map function defined like this:

function(doc) {
emit(doc.expire);
}

I'm then querying the data ranges like this: 
?startkey="2012-10-02"&endkey="2012-12-02"

Is this the correct way to do this type of thing?

Regards,

Carl

Reply via email to