R/dbiDataType_list.R

Defines functions dbiDataType_list

dbiDataType_list <- function(x) {
  is_raw <- vapply(x, is.raw, logical(1))
  if (!all(is_raw)) {
    stop("Only lists of raw vectors are currently supported", call. = FALSE)
  }
  "BLOB"
}

setMethod("dbiDataType", signature("list"), dbiDataType_list)
r-dbi/DBI documentation built on April 20, 2024, 5:32 p.m.