R/dbListResults_SQLiteConnection.R

Defines functions dbListResults_SQLiteConnection

Documented in dbListResults_SQLiteConnection

#' dbListResults
#'
#' DEPRECATED
#'
#' @rdname dbListResults
#' @keywords internal
#' @usage NULL
dbListResults_SQLiteConnection <- function(conn, ...) {
  warning("Querying the results associated with a connection is no longer supported",
    call. = FALSE
  )
  if (is.null(conn@ref$result)) {
    list()
  } else {
    list(conn@ref$result)
  }
}

#' @rdname dbListResults
#' @keywords internal
#' @export
setMethod("dbListResults", "SQLiteConnection", dbListResults_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.