DatabaseConnection constructor

const DatabaseConnection(
  1. String name,
  2. DatabaseDriverType driver, {
  3. required String database,
  4. String? charset,
  5. String? collation,
  6. String? host,
  7. String? password,
  8. int? port,
  9. String? url,
  10. String? username,
  11. bool dbForeignKeys = true,
  12. bool? secure,
  13. String timeZone = 'UTC',
})

Implementation

const DatabaseConnection(
  this.name,
  this.driver, {
  required this.database,
  this.charset,
  this.collation,
  this.host,
  this.password,
  this.port,
  this.url,
  this.username,
  this.dbForeignKeys = true,
  this.secure,
  this.timeZone = 'UTC',
});