R/dbFetchArrowChunk_DBIResultArrow.R

Defines functions dbFetchArrowChunk_DBIResultArrow

Documented in dbFetchArrowChunk_DBIResultArrow

#' @rdname hidden_aliases
#' @usage NULL
dbFetchArrowChunk_DBIResultArrow <- function(res, ...) {
  nanoarrow::as_nanoarrow_array(
    dbFetch(res@result, n = 256, ...)
  )
}
#' @rdname hidden_aliases
#' @export
setMethod("dbFetchArrowChunk", signature("DBIResultArrow"), dbFetchArrowChunk_DBIResultArrow)

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.