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 |
---|---|---|---|
Building for ‘iOS-simulator’, but linking in object file (/librealmcore-ios.a[arm64][3](alloc.o)) built for ‘iOS’ | 1 | 840 | Apr 2024 |
Error while updating object property in flutter. Error code: 2005 | 8 | 894 | Jun 2024 |
Use of Windows certificate store | 0 | 262 | Jul 2024 |
Changes made inside a Atlas function are reflected very slow in Realm | 0 | 25 | Sep 2024 |
I’m getting a migration error even though I’m installing from scratch | 0 | 39 | Nov 2024 |