getConnectionParameters: getConnectionParameters

Description Usage Arguments Details Value

Description

getConnectionParameters

Usage

1
getConnectionParameters(connectionFile)

Arguments

connectionFile

the full path to the json file

Details

Loads connection parameters from a json file.

The JSON file should have the following format:

[
{
"dbms":"<dbms>",
"server":"<host-ip>",
"dbname":"<PostgreSQL db name>",
"user":"<user>",
"password":"<password>",
"sourceschema":"<database schema>",
"targetschema":"<database schema>"
}
]

dbms can be one of "postgresql", "sqlserver", "oracle *", "mysql *", or "redshift *" (* not yet implemented)
dbname is only applicable for PostgreSQL databases

Value

A string JSON object containing details for connecting to the database


lhalvors/AtlasCohortExchange documentation built on May 12, 2019, 4:26 p.m.