DBConnectionInfo constructor

DBConnectionInfo({
  1. ConnectionDriver driver = ConnectionDriver.pgsql,
  2. String host = 'loalhost',
  3. int? port,
  4. String database = 'postgres',
  5. String username = '',
  6. 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,
  this.database = 'postgres',
  this.username = '',
  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,
});