CheckedTableSql class final

One reviewed MySQL/MariaDB DDL statement and its complete physical table pre/postconditions. DDL is autocommit; each successful step is checkpointed. A null before means create, a null after means drop, differing names rename.

Inheritance

Constructors

CheckedTableSql(String sql, {TableSchema? before, TableSchema? after})
Records DDL with table-state conditions instead of assuming DDL is atomic.

Properties

after TableSchema?
Reviewed states before and after DDL; null denotes absence on that side.
final
before TableSchema?
Reviewed states before and after DDL; null denotes absence on that side.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String
One trusted MySQL/MariaDB DDL statement executed with recovery checkpoints.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Stable operation data used in migration checksums and reports.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited