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)
rstats-db/RSQLite documentation built on April 20, 2024, 11:56 a.m.