uploadData

open suspend override fun uploadData(database: PowerSyncDatabase)

Upload local changes to the app backend (in this case Supabase).

This function is called whenever there is data to upload, whether the device is online or offline. If this call throws an error, it is retried periodically.