Learn R Programming

dabr (version 0.0.4)

close_conn: Close connection to database

Description

Close connection to database

Usage

close_conn(conn, ...)

# S3 method for MariaDBConnection close_conn(conn, ...)

# S3 method for default close_conn(conn, ...)

Arguments

conn

DB connection object.

...

Optional parameters.

See Also

Other DB functions: delete(), insert(), list_tables(), open_conn_mysql(), select_all(), select(), update()

Examples

Run this code
if (FALSE) {
conn <- open_conn_mysql("sys", "root")
close_conn(conn)
}

Run the code above in your browser using DataLab