Is it possible to prefix a document ID created by Couchbase? I know I can't 
modify the ID of a document, but I would like Couchbase to generate a 
unique ID for me and then prefix it with some constant.

CBLDocument* document = [database createDocument];

e.g. document.documentID = 78A799AA-5213-4199-AE4B-E7110B859674

// Then prefix it somehow...

e.g. document.documentID = user::78A799AA-5213-4199-AE4B-E7110B859674

-- 
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/5f4ed370-fcee-454d-a870-68fd851131a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to