R/dbGetInfo_MariaDBDriver.R

Defines functions dbGetInfo_MariaDBDriver

Documented in dbGetInfo_MariaDBDriver

#' @rdname MariaDBDriver-class
#' @usage NULL
dbGetInfo_MariaDBDriver <- function(dbObj, ...) {
  client_version <- names(version())[[2]]

  list(
    driver.version = PACKAGE_VERSION,
    client.version = package_version(client_version)
  )
}

#' @rdname MariaDBDriver-class
#' @export
setMethod("dbGetInfo", "MariaDBDriver", dbGetInfo_MariaDBDriver)
r-dbi/RMariaDB documentation built on Dec. 15, 2024, 12:12 p.m.