versionDelegate property

DbVersionDelegate get versionDelegate

Returns an appropriate class to resolve the current schema version in this database.

Common implementations will be:

  • NoVersionDelegate for databases without a schema version (such as an MySql server we connect to)
  • OnOpenVersionDelegate for databases whose schema version can only be set while opening it (such as sqflite)
  • DynamicVersionDelegate for databases where drift can set the schema version at any time (used for the web and VM implementation)

Implementation

DbVersionDelegate get versionDelegate;