oh nice trick, I'll give it at try! On Sunday, February 23, 2014 2:35:58 PM UTC-8, Jens Alfke wrote: > > > On Feb 23, 2014, at 1:17 PM, Eduardo Scoz <[email protected]<javascript:>> > wrote: > > How can I set up the startkey/endkey/key so that the view only returns > rows with keys starting with @[@"A", @"Car"] ? > > > view.startKey = @[@“A”, @“Car”]; > view.endKey = @[@“A”, @“Car”, @{}]; > > The trick is that an empty dictionary sorts after any non-dictionary > value, making it useful to use at the end of a range. > > —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/2da243f8-e47d-4d6d-b905-49157f7aad64%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
