Hi,

Does the local CBL database name need to be the same as the bucket/database 
name on the server for syncing to work?

I'll have multiple local databases with different names that I want to sync 
with the same server. I was thinking that I would be able to use a channel 
name which matched the local database name in order to separate syncing of 
one database from another to the Sync Gateway. The local database file is 
generated from a UUID in the format:

db-91482904371743d0b23c8cc634714e6a.cblite2

I figured that if I created a channel 
called db-91482904371743d0b23c8cc634714e6a and granted a user access to 
that channel then that would facilitate syncing from the Sync Gateway to 
that particular iOS/Mac database instance. The user can have multiple 
different database instances each syncing independently. At least that's my 
hope.

Just wondering if I might come across any difficulties doing it this way or 
is it perfectly legit to do this?

Thanks,

Brendan

-- 
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/65384e1a-06c3-460b-b0ed-8f9e78c55311%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to