#' @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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.