RemoteBackupChangeLogDAO
Data Access Object for tracking changes that need to be synced to remote backup. This changelog tracks WHAT changed, not the data itself. Actual data is fetched from existing DB tables when syncing.
Inheritors
Functions
Delete the given changelog changes after they were successfully synced.
Get a transactional snapshot of the latest limit pending changes and their conversations' last-read timestamps.
Get all pending changes ordered deterministically for replay.
Log a conversation clear event. This clears all existing entries for the conversation and adds a single clear event.
Log a conversation deletion event. This clears all existing entries for the conversation and adds a single delete event.
Log a message deletion event.
Log a message upsert (create or edit) event.
Log a reactions sync event. This means "sync all reactions for this message" - when any reaction changes.
Log a read receipts sync event. This means "sync all read receipts for this message" - when any receipt changes.
Observe transactional snapshots of the latest limit pending changes and their conversations' last-read timestamps.