DBConnectionInfo constructor
DBConnectionInfo({
- ConnectionDriver driver = ConnectionDriver.pgsql,
- String host = 'loalhost',
- int port = 5432,
- String database = 'postgres',
- required String username,
- required String password,
- String? charset,
- List<
String> ? schemes, - String? prefix,
- bool useSSL = false,
- int numberOfProcessors = 1,
- bool setNumberOfProcessorsFromPlatform = false,
- bool reconnectIfConnectionIsNotOpen = true,
- bool enablePsqlAutoSetSearchPath = true,
- 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,
});