disconnect_from_epd: Disconnect a connection to a EPD database

Description Usage Arguments Value Examples

View source: R/EDPr-DDBB_connection.R

Description

disconnect_from_epd turns down a connection to a EPD DDBB server.

Usage

1

Arguments

connection

PostgreSQLConnection The connection object created with connect_to_epd to stablish the connection

...

Other arguments to dbConnect-methods.

Value

NULL It just disconnects from the EPD DDBB server and modifies the connection object to reflect the new status.

Examples

1
2
3
4
5
6
7
## Not run: 
epd.connection <- connect_to_epd(database="epd", user="epdr",
                                password="epdrpw", host="localhost")
disconnect_from_epd(connection=epd.connection)
epd.connection

## End(Not run)

dinilu/EPDr documentation built on Aug. 22, 2019, 1:03 p.m.