Skip to contents

Close connection to the database

Usage

close_connection(conn)

Arguments

conn

(DBIConnection(1))
Connection object.

Value

dbDisconnect() returns TRUE, invisibly.

Examples

  conn <- get_connection()

  close_connection(conn)