On Oct 29, 2015, at 5:15 PM, Brendan Duddridge <[email protected]<mailto:[email protected]>> wrote:
Is there a size limit to the documentID? I know it's best to keep them small, but I may need to prefix them with a UUID to guarantee uniqueness. CBL doesn’t have a limit, but SG does, because Couchbase Server has a 255-byte limit on keys. So if you plan on being able to sync with SG, keep docIDs to under 255 UTF-8 bytes (not 255 characters — it’s more like 50-100 characters of non-Roman languages, for example.) —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/24831FB6-6611-454C-A427-9CC384F713A1%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
