There is realm.syncSession.pause()
in flutter realm. I wonder if I can pause specific collection, let’s say I want to pause only for Product
collection. Is there any way I can achieve this?
Skip to main content
I would think pausing one collection out of several would cause issues with relationships and references to other objects. e.g. One object may reference another but without them both sync’ing the reference could be to a nil object if it doesn’t exist yet.
What is the use case?
Agreed. If you do have high-priority and low-priority data then you can separate them into separate realms (however many you would like), and pause/resume sync at that level. Changes are queued and exchanged at the realm level, so there is no way to just stop/start changes on a single collection at this time.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Sample code issue. Unresolved reference for MongoClient.create | 3 | 810 | May 2024 |
Getting “Network request failed” error on Android Emulator | 0 | 916 | May 2024 |
React native + expo: UserProvider FallBack doesn’t render to screen | 1 | 255 | Aug 2024 |
Custom JWT Returns [Realm.App - error] App: log_in_with_credentials failed: 401 message: unauthorized | 0 | 255 | Jul 2024 |
relationship loss when updating object realm database | 1 | 93 | Sep 2024 |