R/dbIsValid__duckdb_result.R

Defines functions dbIsValid__duckdb_result

Documented in dbIsValid__duckdb_result

#' @rdname duckdb_result-class
#' @inheritParams DBI::dbIsValid
#' @usage NULL
dbIsValid__duckdb_result <- function(dbObj, ...) {
  return(dbObj@env$open)
}

#' @rdname duckdb_result-class
#' @export
setMethod("dbIsValid", "duckdb_result", dbIsValid__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.