R/show_AdbiDriver.R

Defines functions show_AdbiDriver

Documented in show_AdbiDriver

#' @rdname AdbiDriver-class
#' @inheritParams methods::show
#' @usage NULL
show_AdbiDriver <- function(object) {

  cat("<AdbiDriver>\n")

  if (dbIsValid(object)) {
    cat("  Type: <", class(object@driver)[1L], ">\n", sep = "")
  } else {
    cat("  INVALID\n")
  }

  invisible(object)
}

#' @rdname AdbiDriver-class
#' @export
setMethod("show", "AdbiDriver", show_AdbiDriver)

Try the adbi package in your browser

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

adbi documentation built on May 29, 2024, 7:12 a.m.