PgCon | R Documentation |
R6 Class PyCon postgresql connection.
R6 Class PyCon postgresql connection.
new()
PgCon$new( name, user = "postgres", host = "localhost", port = "5432", driver = RPostgres::Postgres(), client_encoding = "UTF8" )
finalize()
PgCon$finalize()
print()
PgCon$print()
import()
PgCon$import(sql_obj)
export()
PgCon$export( df, schema = "public", table_name, overwrite = FALSE, append = FALSE, temporary = FALSE )
disconnect()
PgCon$disconnect()
describeTable()
PgCon$describeTable(table_name)
clone()
The objects of this class are cloneable with this method.
PgCon$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.