APITestConfigDockerPostgreSQL constructor

APITestConfigDockerPostgreSQL(
  1. Map<String, dynamic> apiConfig, {
  2. DockerHost? dockerHost,
  3. String? containerNamePrefix,
  4. int? postgresPort,
  5. int? maxConnections,
  6. String? logStatement,
  7. String version = 'latest',
  8. bool cleanContainer = true,
})

Implementation

APITestConfigDockerPostgreSQL(Map<String, dynamic> apiConfig,
    {DockerHost? dockerHost,
    String? containerNamePrefix,
    this.postgresPort,
    this.maxConnections,
    this.logStatement,
    this.version = 'latest',
    super.cleanContainer})
    : super(dockerHost ?? DockerHostLocal(), 'PostgreSQL', apiConfig,
          containerNamePrefix: containerNamePrefix) {
  DBPostgreSQLAdapter.boot();
}