-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload data from database #386
Comments
Internally there is one but it is not exposed as it is not safe (i.e. what happens if there is a transaction while the copy is in progress) A safer way would be to:
Another (even safer) solution would be to use an export. You can even generate an export from a database file (by opening it and exporting it). More info here: https://github.com/tekartik/sembast.dart/blob/master/sembast/doc/storage_format.md#importexport |
I have added |
Thanks! I will implement it for my next release and let you know! |
Hi,
is there a way to reload all data from the database file?
I copy a remote file via my app and want to display the new data but I cant find a way without restarting my app.
The text was updated successfully, but these errors were encountered: