APITestConfigDBSQLMixin mixin

Mixin for APITestConfig with DB configuration + SQL.

Superclass constraints
Mixin applications

Properties

dbConfig Map<String, dynamic>
The database configuration Map.
no setterinherited
dbName String
The dbConfig database name.
no setterinherited
dbPass String
The dbConfig password.
no setterinherited
dbPort FutureOr<int>
The dbConfig port (database exposed port for connections).
no setterinherited
dbType String
The DB type/name.
no setterinherited
dbUser String
The dbConfig username.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createTableSQL(String sqls) Future<List<String?>>
Perform a create table SQL.
listTables() FutureOr<List<String>>
List the database tables names.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveDbPort(int port) FutureOr<int>
Resolves the database port.
inherited
resolveFreePort(int port) FutureOr<int>
Resolves a free-port to use for the database.
inherited
runSQL(String sqlInline) Future<String?>
Runs a SQL in the DB. The SQL shouldn't have multiple lines.
toString() String
A string representation of this object.
inherited

Operators

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