Postgres_SqlConnection.loadConnection constructor

Postgres_SqlConnection.loadConnection(
  1. PostgreSQLConnection con
)

Implementation

Postgres_SqlConnection.loadConnection(PostgreSQLConnection con) {
  host = con.host;
  port = con.port;
  databaseName = con.databaseName;
  if (con.username != null) {
    username = con.username as String;
  }

  if (con.password != null) {
    password = con.password as String;
  }

  timeoutInSeconds = con.timeoutInSeconds;
  queryTimeoutInSeconds = con.queryTimeoutInSeconds;
  timeZone = con.timeZone;
  useSSL = con.useSSL;
  isUnixSocket = con.isUnixSocket;
}