newPGConnection function

PostgreSQLConnection newPGConnection(
  1. PostgreSQLConnection connection
)

Implementation

PostgreSQLConnection newPGConnection(PostgreSQLConnection connection) {
  return PostgreSQLConnection(
      connection.host, connection.port, connection.databaseName,
      username: connection.username,
      password: connection.password,
      timeoutInSeconds: connection.timeoutInSeconds,
      useSSL: connection.useSSL,
      timeZone: connection.timeZone);
}