MssqlChangeHub class
Committed table names this AppDatabase family has written.
Shared across MssqlAppDatabase.fork so a transaction database and its parent notify the same listeners, and only after COMMIT.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
commitPending(
MssqlSession? session) → void -
Publishes tables written in
session's transaction after COMMIT. -
discardPending(
MssqlSession? session) → void -
Drops tables written in
sessionbecause the transaction rolled back. -
listen(
void listener(Set< String> tables)) → void Function() -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
note(
MssqlSession session, String table) → void -
Records a write. Notified immediately when
sessionis not in a transaction; otherwise held until commitPending. -
notify(
Set< String> tables) → void - Tells listeners which qualified table names changed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited