View with composite keys in CB lite


I’m querying a view in CB lite that has a composite key of 2 values via the rest API. I only seem to get back data if I supply a descending parameter along with my startkey and endkey parameters. Without the descending parameter I get back zero rows. Is this intentional?


Which flavor of CB Lite are you using?


I’m testing on IOS at the moment.


In fact, I have to specify descending=true exactly, descending=false results in no rows returned, same as leaving it out altogether.


My mistake, this is by design. I had an endkey with an ‘{}’ value which results in no rows being returned.