DatabaseAccessBase<TX extends DatabaseTransactionBase<TABLES>, TABLES extends TablesBase> class Null safety

Constructors

DatabaseAccessBase({required DatabaseConfig config, required TABLES tables, required MigrationsProvider<TX, TABLES> migrations})

Properties

config DatabaseConfig
final
hashCode int
The hash code for this object. [...]
read-only, inherited
migrations MigrationsProvider<TX, TABLES>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tables → TABLES
final

Methods

clean() Future<void>
createDatabaseTransaction(PostgreSQLExecutionContext conn, TABLES tables) → TX
dispose() Future<void>
forTestCreateDatabase(String name) Future<void>
forTestDropDatabase(String databaseName, {bool ifExists = false}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
prepareDatabase() Future<void>
run<T>(Future<T> block(TX db)) Future<T>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited