R/dbGetStatement_MariaDBResult.R

Defines functions dbGetStatement_MariaDBResult

Documented in dbGetStatement_MariaDBResult

#' @rdname query
#' @usage NULL
dbGetStatement_MariaDBResult <- function(res, ...) {
  if (!dbIsValid(res)) {
    stopc("Expired, result set already closed")
  }
  res@sql
}

#' @rdname query
#' @export
setMethod("dbGetStatement", "MariaDBResult", dbGetStatement_MariaDBResult)
r-dbi/RMariaDB documentation built on Dec. 15, 2024, 12:12 p.m.