R/show_DBIDriver.R

Defines functions show_DBIDriver

Documented in show_DBIDriver

#' @rdname hidden_aliases
#' @param object Object to display
#' @usage NULL
show_DBIDriver <- function(object) {
  tryCatch(
    # to protect drivers that fail to implement the required methods (e.g.,
    # RPostgreSQL)
    show_driver(object),
    error = function(e) NULL
  )
  invisible(NULL)
}
#' @rdname hidden_aliases
#' @export
setMethod("show", signature("DBIDriver"), show_DBIDriver)

Try the DBI package in your browser

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

DBI documentation built on June 18, 2022, 9:06 a.m.