When I do exact match in start key and end key, i got 0 results. On Aug 29, 2011, at 11:26 PM, Ganzha Alexey wrote:
> Hello. > 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 <[email protected]>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?
