Connect and disconnect to a local Postgres database that does not require credentialing. These functions automatically set the dbms and server arguments to "postgresql" and "localhost/dbname", leaving the database name (dbname
) and port (port
) as the only connection details that are modifiable by the user. Note that these functions cannot be used to connect to a local instance that requires a username and password.
Connect and disconnect to a local Postgres database that does not require credentialing. These functions automatically set the dbms and server arguments to "postgresql" and "localhost/dbname", leaving the database name (dbname
) and port (port
) as the only connection details that are modifiable by the user. Note that these functions cannot be used to connect to a local instance that requires a username and password.
dbname | Name of a local Postgres database, Default: 'athena' |
---|---|
port | The port on the server to connect to, Default: 5432 |
This function returns a connectionDetails class object for functions that make the database connection within its caller environment, such as those belonging to the OHDSI Feature Extraction package. A connection can be made by passing the connectionDetails class object to the connect
. This process can be simplified into a single function call with localConnect
, which performs both operations but will not return a connectionDetails object if it is desired as a return value.
This function returns a connectionDetails class object for functions that make the database connection within its caller environment, such as those belonging to the OHDSI Feature Extraction package. A connection can be made by passing the connectionDetails class object to the connect
. This process can be simplified into a single function call with localConnect
, which performs both operations but will not return a connectionDetails object if it is desired as a return value.
This function combines the process of creating a connectionDetails object and making the connection in a single function call. If a connectionDetails object is required, see makeLocalConnDetails
.
This function combines the process of creating a connectionDetails object and making the connection in a single function call. If a connectionDetails object is required, see makeLocalConnDetails
.
Other local functions:
localConnect()
,
local_connect()
,
makeLocalConnDetails()
,
make_local_conn_details()
Other local functions:
localConnect()
,
local_connect()
,
makeLocalConnDetails()
,
make_local_conn_details()