lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

View with startkey as array and descending=true #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a view that has a key of form [campaign_id, date].  When I call the
view like this, it yields results:

db.view('inbounds/by_campaign', startkey=[campaign_id, ''])

However, when I call this, it does not:

db.view('inbounds/by_campaign', startkey=[campaign_id, ''], descending=True)

Original issue reported on code.google.com by duffi...@gmail.com on 22 Dec 2008 at 4:56

GoogleCodeExporter commented 8 years ago
On second thought this may just be because I need to reverse startkey and 
endkey.  If
that's the case, please close this issue and my apologies.

Original comment by duffi...@gmail.com on 22 Dec 2008 at 5:19

GoogleCodeExporter commented 8 years ago
Yeah, that's something lots of CouchDB users seem to trip over :/

Original comment by cmlenz on 29 Jun 2009 at 1:49