DVSchemaSnapshot class final

The shape and size of a production database, to rehearse a plan against.

The classification a developer sees has to be the one production will apply. Their empty local database is the wrong server, the wrong version and the wrong size.

Constructors

DVSchemaSnapshot({required String provider, required String serverVersion, required Map<String, DVSchemaSnapshotTable> tables})
const
DVSchemaSnapshot.fromJson(Map<String, Object?> json)
factory

Properties

classifier → DVSchemaClassifier?
The rules of the adapter for provider at serverVersion, or null when there is no such adapter or the version cannot be read.
no setter
hashCode → int
The hash code for this object.
no setterinherited
provider → String
final
rows → Map<String, int>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverVersion → String
final
tables → Map<String, DVSchemaSnapshotTable>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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