> On Jul 7, 2015, at 3:51 PM, Brendan Duddridge <[email protected]> wrote: > > Can the same document IDs exist on the server used for syncing but > independently for each users? I guess I'm asking if each user has their own > self contained database on the server.
No. The server database is a single namespace just like the client ones. If two clients have a document with the same ID, it is exactly the same document, and if one of them changes it, the other gets the changes. That’s very much by design — it enables communication/collaboration between clients and reduces storage overhead. If user A gives user B data, but it’s supposed to become independent documents owned by user B, and both of them are syncing with the same server database, then the documents have to be re-created by B with different IDs. —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/1539BAFD-6448-4DDE-9D18-28B26B529BB4%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
