>
> There’s no native access to the changes feed, but you can create a view 
> that emits the document’s sequence number as the key, and use that 
> similarly. The sequence number is available to a map function as the 
> “_local_seq” property of the document dictionary.
>

I'm getting null for the _local_seq property in a very simple test view 
(running beta 2).  I see the kCBLIncludeLocalSeq option in 
CBLDatabase-Internal.h<https://github.com/couchbase/couchbase-lite-ios/blob/7257b1aa6d5a81464c4213f51afa2cacddcaec5a/Source/CBLDatabase%2BInternal.h#L36>and
 the various methods with options params.  However, I'm not entirely 
sure how I'd pass these options into a view.  I found a method in 
CBLView-Internal.m<https://github.com/couchbase/couchbase-lite-ios/blob/580c5f65ebda159ce5d0ce1f75adc16955a2a6ff/Source/CBLView%2BInternal.m#L85>that
 appears to be where one could set the content options for the view, 
but it's commented out.

Am I missing something?  Thanks.

-- 
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/f882681e-93cc-4c8f-88cf-d39a984bbea5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to