Got it!
So I have to manually filter it & store it in an array which I can further 
to use to display in a table?

On Tuesday, March 11, 2014 11:59:52 PM UTC+8, Jens Alfke wrote:
>
>
> On Mar 11, 2014, at 8:25 AM, archit agarwal <[email protected]<javascript:>> 
> wrote:
>
> When I use this => It does seem to match against the multiple keys that I 
> have => which are strings and not arrays. 
> For eg. it matches all with Marina Bay and Pasir Ris
>
>
> That may be because your data set is limited. Collation of arrays isn’t 
> that complicated: the first element is the primary sort key, the second 
> element is the secondary, etc. So if you used
> startKey = [300000, “M”]
> endKey = [500000, “P”]
> it’ll match [300000, “M”], [301000, “A”], [350000, “E”], [499999, “Z”], 
> [500000, “O”], [500000, “P”]. In other words, you’re going to have to 
> manually filter out secondary elements that aren’t in your desired range 
> “M”–“P”.
>
> —Jens
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/91fc345d-d541-4703-871a-f6cf7029b03c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to