Learn R Programming

pool (version 0.1.0.9000)

dbDisconnect,DBIConnection-method: Release a connection back to the pool

Description

A wrapper around poolReturn(conn). Unlike its namesake in DBI, in the context of the pool package, dbDisconnect does not close the connection and free the associated resources. Rather, it simply returns the connection back to pool, which then decides whether to keep it around or actually destroy it.

Usage

# S4 method for DBIConnection
dbDisconnect(conn, ...)

Arguments

conn

A DBIConnection object previously fetched from the pool.

...

Not in use.