-
Type: Improvement
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
To help reduce the pain of browsing large Realm files (https://github.com/realm/realm-studio/issues/419) a users needs a way to open Realms in a query-based mode where only a subset of data is initially synchronized and data is synchronized on demand, when the user is browsing the Realm.
The behaviour should essentially be the same as now - perhaps with some spinner indicating that the data associated with the query is being updated.
From a technical standpoint the prerequisites are:
- the RealmFile has realmType === 'reference' and
- we need to be able to create a query with a filtering and stable sorting and adjust the limits (from element 0 to x where x is increased as the user scrolls through the objects)
- we need to be able to tell when the collection of objects associated with a query can be considered up-to-date (as we want to show the user if we are synchronizing or they can trust the view of the data as-is).