R/dbDataType_PqConnection.R

Defines functions dbDataType_PqConnection

Documented in dbDataType_PqConnection

# dbSendQuery()
# dbSendStatement()
# dbDataType()
#' @rdname dbDataType
#' @usage NULL
dbDataType_PqConnection <- function(dbObj, obj, ...) {
  if (is.data.frame(obj)) return(vapply(obj, dbDataType, "", dbObj = dbObj))
  get_data_type(obj)
}

#' @rdname dbDataType
#' @export
setMethod("dbDataType", "PqConnection", dbDataType_PqConnection)

Try the RPostgres package in your browser

Any scripts or data that you put into this service are public.

RPostgres documentation built on Oct. 23, 2023, 1:06 a.m.