Creates a connection to tarpan 2.0, but is essentially a wrapper for
pool::dbPool
1 2 | make_tarpan2_connection(dbname, drv = PostgreSQL(), user, password, host,
port, idleTimeout = 600, validationInterval = 6000)
|
dbname |
The database named |
drv |
The database driver (defaults to PostgreSQL) |
user |
The user to connect with |
password |
The user's password |
host |
character |
port |
integer/numeric |
idleTimeout |
see |
validationInterval |
see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.