View with composite keys in CB lite


#1

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?


#2

Which flavor of CB Lite are you using?


#3

I’m testing on IOS at the moment.


#4

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


#5

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