url
parameter in the client configuration.syncUrl
parameter in the client configuration.url
.syncUrl
.syncInterval
parameter when instantiating the client:
sync()
.
Other replicas will see the new data when they call sync()
, or at the next sync period, if Periodic Sync is used.
encryptionKey
parameter when instantiating the client:
syncUrl
parameter. This parameter specifies the URL of the remote Turso database that the client will sync with:
.sync()
in the background whenever your application wants to sync the remote and local embedded replica. For example, you can call it every 5 minutes or every time the application starts.