Hi, I’m trying to create an application similar to the multi-tenant example here Scopes and Collections Support in Couchbase Mobile for Edge Applications
Essentially, let’s say I have two users, each of them has a mobile application. I want to segregate their data into different scopes. i.e. user1 will have all the data in scope ‘user_1’ and user2 will have all the data in scope ‘user_2’ Now I want the sync gateway to only sync the data from scope ‘user_1’ to user1s application.
I’m not sure about how to go about doing that, the android sdk only specifies that you can specify collections to sync, there is no information about syncing all the collections in a particular scope