> On Oct 12, 2014, at 2:25 AM, Steve <[email protected]> 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/63252C1F-E419-4986-9129-0B6F6D7DAF95%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
