R/show_DBIResult.R

Defines functions show_DBIResult

Documented in show_DBIResult

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

Try the DBI package in your browser

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

DBI documentation built on June 22, 2024, 9:41 a.m.