SchemaSnapshot class final
Physical schema facts saved as Dart with migrations. Storage codecs support DDL; custom domain decoding remains in the generated application client.
Constructors
-
SchemaSnapshot(List<
TableSchema> tables) - Validates physical metadata without opening a database connection.
Properties
- checksum → String
-
Stable fingerprint of the physical metadata.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tables
→ List<
TableSchema> -
Immutable physical tables in declaration order.
final
Methods
-
forDialect(
SqlDialect dialect) → SchemaSnapshot - Resolves shared declarations to physical facts for this engine only.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Physical metadata for diagnostic reports and stable fingerprints.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited