How to save changes to a local Realm on disk? #3647
Closed
Jean-RobertLaffineur
started this conversation in
General
Replies: 2 comments
-
When a |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your answer. My previous tests were probably affected by opened transactions, thus the changes were never saved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using and properly closing a local Realm (as described in the docs), the Realm is saved, with all the changes, to the .realm file on my Windows machine.
The problem is that when the realm is not properly closed (crash...), the changes are lost.
Is there a way to force the write on the file to persist changes at will?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions