MutationUploader

fun interface MutationUploader(source)

Uploads local mutations (from INSERT, UPDATE and DELETE statements against the local database) to your source database.

While simple cases might use a protocol like PostgREST to write directly into the database, a custom backend is commonly used to validate uploaded mutations.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun uploadMutations(onDatabase: PowerSyncDatabase)