Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dbDisconnect-DatabaseConnectorConnection-method

Disconnect (close) a connection


Description

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

Usage

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

Arguments

conn

A DBIConnection object, as returned by dbConnect().

Value

dbDisconnect() returns TRUE, invisibly.

See Also


DatabaseConnector

Connecting to Various Database Platforms

v4.0.2
Apache License
Authors
Martijn Schuemie [aut, cre], Marc Suchard [aut], Observational Health Data Science and Informatics [cph], Microsoft Inc. [cph] (SQL Server JDBC driver), PostgreSQL Global Development Group [cph] (PostgreSQL JDBC driver), Oracle Inc. [cph] (Oracle JDBC driver), Amazon Inc. [cph] (RedShift JDBC driver)
Initial release
2021-04-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.