> On Apr 29, 2015, at 3:28 PM, Ben Kennedy <[email protected]> wrote:
> 
> Does prefixMatchLevel not work for "all docs" queries? I did not see such a 
> caveat mentioned anywhere.

Crap, it looks like it doesn’t! allDocs is implemented separately from view 
queries, even though they’re very similar, and it looks like the bozo who 
implemented prefixMatchLevel [i.e. me] forgot that and only implemented it for 
view queries. I’ve filed an issue 
<https://github.com/couchbase/couchbase-lite-ios/issues/683>.

The “append a Z” technique will work, although it’s safer to use some other 
Unicode character that’s higher than anything that might occur in the docID.

—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/9CDF5F5B-D5A5-41F0-9485-2ED7014F4022%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to