R/show__duckdb_connection.R

Defines functions show__duckdb_connection

Documented in show__duckdb_connection

#' @rdname duckdb_connection-class
#' @inheritParams methods::show
#' @usage NULL
show__duckdb_connection <- function(object) {
  message(sprintf("<duckdb_connection %s driver=%s>", extptr_str(object@conn_ref), drv_to_string(object@driver)))
  invisible(NULL)
}

#' @rdname duckdb_connection-class
#' @export
setMethod("show", "duckdb_connection", show__duckdb_connection)

Try the duckdb package in your browser

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

duckdb documentation built on Oct. 30, 2024, 5:06 p.m.