DBConnectionInfo constructor

DBConnectionInfo({
  1. ConnectionDriver driver = ConnectionDriver.pgsql,
  2. String host = 'loalhost',
  3. int port = 5432,
  4. String database = 'postgres',
  5. required String username,
  6. required String password,
  7. String? charset,
  8. List<String>? schemes,
  9. String? prefix,
  10. bool useSSL = false,
  11. int numberOfProcessors = 1,
  12. bool setNumberOfProcessorsFromPlatform = false,
  13. bool reconnectIfConnectionIsNotOpen = true,
  14. bool enablePsqlAutoSetSearchPath = true,
  15. int timeoutInSeconds = 120,
})

Implementation

DBConnectionInfo({
  this.driver = ConnectionDriver.pgsql,
  this.host = 'loalhost',
  this.port = 5432,
  this.database = 'postgres',
  required this.username,
  required this.password,
  this.charset,
  this.schemes,
  this.prefix,
  this.useSSL = false,
  this.numberOfProcessors = 1,
  this.setNumberOfProcessorsFromPlatform = false,
  this.reconnectIfConnectionIsNotOpen = true,
  this.enablePsqlAutoSetSearchPath = true,
  this.timeoutInSeconds = 120,
});