incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: startkey and endkey problems
Date Wed, 23 Feb 2011 18:05:14 GMT
Dear Fabio,

> ...

> {"id":"e384832d-8378-4ab4-98c5-cf7f9ed011cd","key":"2011-758220070004","value":null}
> ]}
> http://homolog.webservices.scielo.org/scieloorg/_design/couchdb/_view/issue_id?startkey=["2176-9451",{}]&endkey["2176-9451"]
> But this query results an empty json.

There are two problems:

1. "startkey" should be lesser than "endkey".

2. When you have simple keys, don't use brackets.


Regards,

Aurélien
Mime
View raw message