APITestConfigDBMixin mixin
Mixin for APITestConfig with DB configuration.
- Mixin applications
Properties
-
dbConfig
→ Map<
String, dynamic> -
The database configuration Map.
no setter
- dbName → String
-
The dbConfig
database
name.no setter - dbPass → String
-
The dbConfig
password
.no setter -
dbPort
→ FutureOr<
int> -
The dbConfig
port
(database exposed port for connections).no setter - dbType → String
-
The DB type/name.
no setter
- dbUser → String
-
The dbConfig
username
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
listTables(
) → FutureOr< List< String> > - List the database tables names.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveDbPort(
int port) → FutureOr< int> - Resolves the database port.
-
resolveFreePort(
int port) → FutureOr< int> - Resolves a free-port to use for the database.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited