SchemaInstantiationHelper class abstract

A class that can create a GeneratedDatabase suitable for instantating an older version of your app's database.

The implementation of this class is generated through the drift_dev CLI tool. Typically, you don't use this class directly but rather through the SchemaVerifier class part of package:drift_dev/api/migrations_native.dart (or it's web pendant) library.

Constructors

SchemaInstantiationHelper()

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

databaseForVersion(QueryExecutor db, int version) → GeneratedDatabase
Creates a database with the state of an old schema version and using the given underlying db connection.
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