updateLsnStmt method

Statement updateLsnStmt(
  1. LSN lsn
)

Update this._lsn to the new value and generate a statement to persist this change

@param lsn new LSN value @returns statement to be executed to save the new LSN value in the database

Implementation

Statement updateLsnStmt(LSN lsn) {
  _lsn = lsn;
  return _setMetaStatement('lsn', base64.encode(lsn));
}