R/dbListTables_SQLiteConnection.R

Defines functions dbListTables_SQLiteConnection

Documented in dbListTables_SQLiteConnection

#' @rdname SQLiteConnection-class
#' @usage NULL
dbListTables_SQLiteConnection <- function(conn, ...) {
  rs <- sqliteListTables(conn)
  on.exit(dbClearResult(rs), add = TRUE)

  dbFetch(rs)$name
}
#' @rdname SQLiteConnection-class
#' @export
setMethod("dbListTables", "SQLiteConnection", dbListTables_SQLiteConnection)

Try the RSQLite package in your browser

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

RSQLite documentation built on May 29, 2024, 3:30 a.m.