incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Bourne <>
Subject Sorting dates in CouchDB
Date Mon, 08 Oct 2012 09:21:08 GMT
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) {

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?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message