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)

Try the RSQLite package in your browser

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

RSQLite documentation built on Nov. 5, 2023, 1:10 a.m.