R/dbClearResult_MariaDBResult.R

Defines functions dbClearResult_MariaDBResult

Documented in dbClearResult_MariaDBResult

#' @rdname query
#' @usage NULL
dbClearResult_MariaDBResult <- function(res, ...) {
  if (!dbIsValid(res)) {
    warningc("Expired, result set already closed")
    return(invisible(TRUE))
  }
  result_release(res@ptr)
  invisible(TRUE)
}

#' @rdname query
#' @export
setMethod("dbClearResult", "MariaDBResult", dbClearResult_MariaDBResult)

Try the RMariaDB package in your browser

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

RMariaDB documentation built on Oct. 27, 2023, 1:07 a.m.