PostgreSQLDatabaseAdapter constructor

PostgreSQLDatabaseAdapter(
  1. DataSchema schema,
  2. String host,
  3. int port,
  4. String databaseName, {
  5. String? username,
  6. String? password,
  7. int timeoutInSeconds = 30,
  8. int queryTimeoutInSeconds = 30,
  9. String timeZone = 'UTC',
  10. bool useSSL = false,
  11. bool isUnixSocket = false,
})

Parameters represent the constructor parameters of postgres.PostgreSQLConnection

Implementation

PostgreSQLDatabaseAdapter(
    DataSchema schema, this.host, this.port, this.databaseName,
    {this.username,
    this.password,
    this.timeoutInSeconds = 30,
    this.queryTimeoutInSeconds = 30,
    this.timeZone = 'UTC',
    this.useSSL = false,
    this.isUnixSocket = false})
    : super(schema);