ObjectBox select what to sync - Stack Overflow

admin2025-04-22  1

I am just trying out ObjectBox and sync server.

I have a very simple sync scenario where I have multiple users for example user_A and user_B. Each user may have multiple devices, for example user_A has dev_0 and dev_1 and user_B has dev_2 and dev_3.

It of course does not make sense to copy all the data all the time, how do I set up sync filtering so user_A only has access to their own data on devices dev_0 and dev_1 and user_B has access only to their own data on dev_2 and dev_3?

Cheers

I am just trying out ObjectBox and sync server.

I have a very simple sync scenario where I have multiple users for example user_A and user_B. Each user may have multiple devices, for example user_A has dev_0 and dev_1 and user_B has dev_2 and dev_3.

It of course does not make sense to copy all the data all the time, how do I set up sync filtering so user_A only has access to their own data on devices dev_0 and dev_1 and user_B has access only to their own data on dev_2 and dev_3?

Cheers

Share Improve this question asked Jan 21 at 15:48 user966020user966020 3311 gold badge2 silver badges5 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Sorry, there are no instructions for this as ObjectBox Sync is intended and optimized to be used when data must be replicated across all clients.

Source: https://objectbox.io/faq/#use-cases

转载请注明原文地址:http://anycun.com/QandA/1745299227a90547.html