purgeSync method

void purgeSync(
  1. String atKey
)

Delete the commit-log row for atKey (expiry / skipCommit path). No counter bump. Re-entrant. An expired key must not be resurrectable by a sync client replaying an old commit entry.

Implementation

void purgeSync(String atKey) {
  _db.raw.execute('DELETE FROM commit_log WHERE atkey = ?;', [atKey]);
}