R/show__duckdb_result.R

Defines functions show__duckdb_result

Documented in show__duckdb_result

#' @rdname duckdb_result-class
#' @inheritParams methods::show
#' @usage NULL
show__duckdb_result <- function(object) {
  message(sprintf("<duckdb_result %s connection=%s statement='%s'>", extptr_str(object@stmt_lst$ref), extptr_str(object@connection@conn_ref), object@stmt_lst$str))
  invisible(NULL)
}

#' @rdname duckdb_result-class
#' @export
setMethod("show", "duckdb_result", show__duckdb_result)

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.