dbDisconnect {noctua} | R Documentation |
Disconnect (close) an Athena connection
Description
This closes the connection to Athena.
Usage
## S4 method for signature 'AthenaConnection'
dbDisconnect(conn, ...)
Arguments
conn |
A DBIConnection object, as returned by
|
... |
Other parameters passed on to methods. |
Value
dbDisconnect()
returns TRUE
, invisibly.
See Also
Examples
## Not run:
# Note:
# - Require AWS Account to run below example.
# - Different connection methods can be used please see `noctua::dbConnect` documnentation
library(DBI)
# Demo connection to Athena using profile name
con <- dbConnect(noctua::athena())
# Disconnect conenction
dbDisconnect(con)
## End(Not run)
[Package noctua version 2.6.2 Index]