.dbExistsTable <- function(conn, name, ...) {
name <- sanitize_table_id(name, ...)
return(list_helper(glue::glue("dbExistsTable-{name}"), conn, ...))
}
#' @rdname mock-db-methods
#' @export
setMethod(
"dbExistsTable",
signature("DBIMockConnection", "character"),
.dbExistsTable
)
#' @rdname mock-db-methods
#' @export
setMethod(
"dbExistsTable",
signature("DBIMockConnection", "Id"),
.dbExistsTable
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.