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)

Try the RMariaDB package in your browser

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

RMariaDB documentation built on Dec. 20, 2021, 9:06 a.m.