R/dbGetQueryArrow_DBIConnection.R

Defines functions dbGetQueryArrow_DBIConnection_character

Documented in dbGetQueryArrow_DBIConnection_character

#' @rdname hidden_aliases
#' @usage NULL
dbGetQueryArrow_DBIConnection_character <- function(conn, statement, ...) {
  rs <- dbSendQueryArrow(conn, statement, ...)
  on.exit(dbClearResult(rs))

  dbFetchArrow(rs, ...)
}
#' @rdname hidden_aliases
#' @export
setMethod("dbGetQueryArrow", signature("DBIConnection"), dbGetQueryArrow_DBIConnection_character)

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.