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)
rstats-db/DBI documentation built on May 5, 2024, 6:42 p.m.