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 |
---|---|---|---|
DB data keeps on increasing and db data automatically get clear in android | 1 | 520 | Apr 2024 |
UnsatisfiedLinkError with Realm SDK on Android 15 Emulator (16 KB Page Size) | 0 | 691 | Jun 2024 |
[Realm.Sync.Client.Network - error] | 2 | 446 | Jun 2024 |
Realm macOS SwiftUI Getting Started | 0 | 346 | Jun 2024 |
Trigger fullDocumentBeforeChange doesn’t contain all fields | 0 | 217 | Aug 2024 |