DatabaseSchema class
- Available extensions
Constructors
-
DatabaseSchema(Map<
String, TableSchema> tables) -
const
- DatabaseSchema.empty()
-
factory
-
DatabaseSchema.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tables
→ Map<
String, TableSchema> -
final
Methods
-
computeDiff(
Session db) → Future< DatabaseSchemaDiff> -
Available on DatabaseSchema, provided by the SchemaDiff extension
Computes the difference between the live database schema fromdband this schema. -
copy(
) → DatabaseSchema -
mergeWith(
DatabaseSchema targetSchema) → DatabaseSchema -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
load(
String glob) → Future< DatabaseSchema>