Filtering partition on a per user basis

Hi there,

Will query based realms (https://docs.realm.io/sync/query-based-sync-examples-old/step-2-adding-query-based-sync-1) be reintroduced in the future or will there an alternative?

Partitions are currently pretty static, will there be any way to dynamically change the contents in a partition using filters on a per user basis?

I am writing this because we have some very large partitions in our iOS projects, stretching the limits of Realm’s capacity. Ideally we would like to filter the contents of a partition, e.g, based on latest used records, user location and all sorts of other parameters and metrics.

Best regards

Thomas

Hi Thomas,

I’ll leave it to @Ian_Ward to comment on roadmaps, but I’ve just finished an article on Realm partitioning strategies. The article is in its final review but will hopefully go live tomorrow (look for “Realm Provisioning Strategies” in https://developer.mongodb.com/learn/?products=Mobile). I’ll circle back with the direct link once it’s live.

Cheers, Andrew.

We will re-introduce query-based sync back to the system in the future but it is currently a long-term project and will likely not be GA until next year.

2 Likes

The Realm partitioning strategies article is now live at https://developer.mongodb.com/how-to/realm-partitioning-strategies/

2 Likes

Hi Andrew and Ian,

thank you for update and article link :).

1 Like