DatabaseAccessBase<TX extends DatabaseTransactionBase<TABLES> , TABLES extends TablesBase> class
abstract
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.
no setterinherited
-
migrations
→ MigrationsProvider<
TX, TABLES> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 nonexistent 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