R/closeConnection.R

Defines functions closeConnection

Documented in closeConnection

#' closeConnection
#'
#' Disconnects from database using odbc::dbDisconnect
#
#' @param conn Connection created at \code{\link{connectDB}}
#' @return \code{TRUE} if succeeded at closing connection
#' @export
closeConnection <- function(conn){
  return(odbc::dbDisconnect(conn))
}

# Disconnects from database using \code{\link[odbc]{dbDisconnect}}

Try the datrProfile package in your browser

Any scripts or data that you put into this service are public.

datrProfile documentation built on Aug. 2, 2019, 5:05 p.m.