dbDisconnect-DatabaseConnectorConnection-method: Disconnect (close) a connection

Description Usage Arguments Value See Also

Description

This closes the connection, discards all pending work, and frees resources (e.g., memory, sockets).

\Sexpr[results=rd,stage=render]{DBI:::methods_as_rd("dbDisconnect")}

Usage

1
2
## S4 method for signature 'DatabaseConnectorConnection'
dbDisconnect(conn)

Arguments

conn

A DBIConnection object, as returned by dbConnect().

Value

dbDisconnect() returns TRUE, invisibly.

See Also

Other DBIConnection generics: DBIConnection-class, dbAppendTable(), dbCreateTable(), dbDataType(), dbExecute(), dbExistsTable(), dbGetException(), dbGetInfo(), dbGetQuery(), dbIsReadOnly(), dbIsValid(), dbListFields(), dbListObjects(), dbListResults(), dbListTables(), dbReadTable(), dbRemoveTable(), dbSendQuery(), dbSendStatement(), dbWriteTable()


DatabaseConnector documentation built on Nov. 18, 2021, 5:08 p.m.