> On Apr 22, 2015, at 10:20 AM, Victor Fernandez <[email protected]> 
> wrote:
> 
> I'm working with CouchbaseLite Native for Objective-c. I need to get an 
> specific document with all the revisions of this one, with map funcion views 
> I'm getting only the last one.
> Does anyone know a way to get all the revisions? 

-[CBLDocument getRevisionHistory:]

Just keep in mind that the only revision that’s guaranteed to still contain 
data is the current one*; compaction will remove the properties of outdated 
revisions.

—Jens

* or ‘current ones’ if there are conflicts

-- 
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/DCBA224F-B9D4-4935-B1B0-C21697E33D56%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to