maxHlc method
The highest HLC seen in table as a string, or the empty string when
the table is empty.
Implementation
@override
String maxHlc(String table) {
if (_db == null) return '';
final rows = _open.select(
'SELECT hlc FROM crdt_records WHERE collection = ? '
'ORDER BY hlc_key DESC LIMIT 1',
[table],
);
return rows.isEmpty ? '' : rows.first['hlc'] as String;
}