recordInternal method

void recordInternal(
  1. Change c
)

Internal hook called by the Database when a mutation lands. Not part of the public API but kept package-visible for the engine.

Implementation

void recordInternal(Change c) {
  if (_closed || !_enabled) return;
  if (_tables.isNotEmpty && !_tables.contains(c.table.toLowerCase())) {
    return;
  }
  _changes.add(c);
}