Learn R Programming

tidyfinance (version 0.4.3)

disconnection_connection: Disconnect Database Connection

Description

This function safely disconnects an established database connection using the DBI package.

Usage

disconnection_connection(con)

Value

A logical value: TRUE if disconnection was successful, FALSE

otherwise.

Arguments

con

A database connection object created by DBI::dbConnect or any similar function that establishes a connection to a database.