couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ganzha Alexey <>
Subject Re: startkey and endkey
Date Tue, 30 Aug 2011 06:26:48 GMT
Your start key must match exactly some key in database.
It is like an anchor. After db hits your start key, it begn emit for you all
rows with the key which is less than startkey according to view collation.

On Tue, Aug 30, 2011 at 8:33 AM, Andrey Cherkashin <>wrote:

> Hello everyone.
> I have a problem with using couch views that has "complex" keys like:
> ["Category", "sub-cat", "sku", 100]
> For example, I trying to get all docs that is in "Paint" category, so my
> first guess was:
> startkey=["Paint",0,0,0]&endkey=["Paint",{},{},{}]
> but i got nothing. What am i doing wrong?

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