R/dbGetInfo_SQLiteConnection.R

Defines functions dbGetInfo_SQLiteConnection

Documented in dbGetInfo_SQLiteConnection

#' @rdname SQLiteConnection-class
#' @usage NULL
dbGetInfo_SQLiteConnection <- function(dbObj, ...) {
  version <- RSQLite::rsqliteVersion()

  list(
    db.version = version[[2]],
    dbname = dbObj@dbname,
    username = NA,
    host = NA,
    port = NA
  )
}
#' @rdname SQLiteConnection-class
#' @export
setMethod("dbGetInfo", "SQLiteConnection", dbGetInfo_SQLiteConnection)
rstats-db/RSQLite documentation built on April 20, 2024, 11:56 a.m.