#' Class SQLiteResult (and methods)
#'
#' SQLiteDriver objects are created by [dbSendQuery()] or [dbSendStatement()],
#' and encapsulate the result of an SQL statement (either `SELECT` or not).
#' They are a superclass of the [DBIResult-class] class.
#' The "Usage" section lists the class methods overridden by \pkg{RSQLite}.
#'
#' @seealso
#' The corresponding generic functions
#' [DBI::dbFetch()], [DBI::dbClearResult()], and [DBI::dbBind()],
#' [DBI::dbColumnInfo()], [DBI::dbGetRowsAffected()], [DBI::dbGetRowCount()],
#' [DBI::dbHasCompleted()], and [DBI::dbGetStatement()].
#'
#' @export
#' @keywords internal
setClass("SQLiteResult",
contains = "DBIResult",
slots = list(
sql = "character",
ptr = "externalptr",
conn = "SQLiteConnection"
)
)
#' @rdname SQLiteResult-class
#' @export
setMethod("dbIsValid", "SQLiteResult", function(dbObj, ...) {
result_valid(dbObj@ptr)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.