I think I figured it out.

NSString *docID = someObject.document.documentID;        // Where 
someObject is a subclass of CBLModel


On Tuesday, 7 October 2014 23:31:11 UTC+13, Steve wrote:
>
> If I have an object which is a subclass of CBLModel, how do I get the ID 
> of the document that object maps to?
>
>

-- 
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/ffb21bc0-0343-4d74-b834-8c9feb690337%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to