View source: R/aqrcDBconnect.R
aqrcDBdisconnect | R Documentation |
This function will disconnect from any pool connection and remove the connection object from the R environment.
aqrcDBdisconnect(poolConn, pos = NULL)
poolConn |
pool object which represents an active connection. |
pos |
inherited from rm(). The numeric position of the environment from which to remove the object, or a character string naming the environment (parsed with as.environment()). |
This function will disconnect a database connection via the
pool
package. After disconnecting it will remove the connection
object from the R environment.
Nothing.
poolClose
rm
## Not run: # poolIMP is a database connection aqrcDBdisconnect(poolIMP) # the connection is closed and the object, poolIMP, is removed. ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.