Description Usage Arguments Format Value Examples
This is a class for managing PostgreSQL connections.
open a PostgreSQL connection
1 |
db_name |
Database name. |
host |
Host name. |
user |
User name. |
password |
Password. |
An object of class R6ClassGenerator
of length 25.
A new 'Pool' object.
1 2 3 4 5 6 7 8 9 | ## Not run:
library(dbmanager)
postgres <- PostgreSQL$new(db_name, host, user, password)
postgres$available_databases
postgres$connected_database
postgres$tables
postgres$close()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.