PostgresBox constructor

PostgresBox(
  1. String hostname,
  2. Registry registry, {
  3. required String database,
  4. int port = 5432,
  5. String username = 'postgres',
  6. String password = 'postgres',
  7. ObjectRepresentation objectRepresentation = ObjectRepresentation.json,
})

Implementation

PostgresBox(
  String hostname,
  Registry registry, {
  required String database,
  int port = 5432,
  String username = 'postgres',
  String password = 'postgres',
  this.objectRepresentation = ObjectRepresentation.json,
})  : _connection = PostgreSQLConnection(
        hostname,
        port,
        database,
        username: username,
        password: password,
      ),
      super(registry);