> On Aug 21, 2016, at 11:25 PM, Brendan Duddridge <[email protected]> wrote:
> 
> docsQuery.allDocsMode = kCBLIncludeDeleted | kCBLBySequence;
> 
Careful: the mode constants are not masks, so you can’t ‘or’ them. (I’ve made 
this mistake myself before.) Just use kCBLBySequence; it implicitly includes 
deleted revs.

> Can I specify the startKey and endKey and pass in the sequence number? 

Yes. Use query.startKey = @(firstSeq).

—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/39D5143A-2473-4A42-B9A6-A40A89C2C975%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to