update
Updates the current database in the background by requesting new data from the backend.
Updates can be either delta updates or full updates depending on how big the difference between the last update was.
While updating, the database can still be queried for data, after the update completes calls to the database return the updated data.
Note that database updates are usually very cheap and do not transmit data that is already on your device.
If the database is not present or schematic changes are done that can not be resolved via a delta update a full update is needed.
Updates the current database in the background by requesting new data from the backend.
Updates can be either delta updates or full updates depending on how big the difference between the last update was.
While updating, the database can still be queried for data, after the update completes calls to the database return the updated data.
Note that database updates are usually very cheap and do not transmit data that is already on your device.
If the database is not present or schematic changes are done that can not be resolved via a delta update a full update is needed.
Parameters
A UpdateCallback that returns success when the operation is successfully completed. Or error() in case a network error occurred.
Updates the current database in the background by requesting new data from the backend.
Updates can be either delta updates or full updates depending on how big the difference between the last update was.
While updating, the database can still be queried for data, after the update completes calls to the database return the updated data.
Note that database updates are usually very cheap and do not transmit data that is already on your device.
If the database is not present or schematic changes are done that can not be resolved via a delta update a full update is needed.
Parameters
A UpdateCallback that returns success when the operation is successfully completed. Or error() in case a network error occurred. Can be null.
set to true if you want to only update when the update would be an delta update