WebSchemaVerifier constructor

WebSchemaVerifier(
  1. CommonSqlite3 sqlite3,
  2. SchemaInstantiationHelper helper, {
  3. void setup(
    1. CommonDatabase raw
    )?,
})

Creates a schema verifier for the drift-generated helper.

See tests for more information. The optional setup parameter is used internally by the verifier for every database connection it opens. This can be used to, for instance, register custom functions expected by your database.

Implementation

factory WebSchemaVerifier(
  CommonSqlite3 sqlite3,
  SchemaInstantiationHelper helper, {
  void Function(CommonDatabase raw)? setup,
}) = impl.WebSchemaVerifier;