Too easy, thanks Jens. On Monday, 13 October 2014 17:01:24 UTC+13, Jens Alfke wrote: > > > On Oct 12, 2014, at 2:25 AM, Steve <[email protected] <javascript:>> > wrote: > > 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. > > > Just create the document ID yourself by using NSUUID and appending that to > a string. Then create the document by calling -[CBLDatabase > documentWithID:]. > > —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/8e5e5a96-8e7a-4fac-938f-6a278c8a0628%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
