Nothing
#' Deprecated functions
#'
#' These functions are deprecated in favor of better alternatives.
#' Most functions with the `cdm_` prefix have an identical alternative
#' with a `dm_` prefix.
#'
#' @name deprecated
NULL
#' sql_schema_create()
#'
#' `sql_schema_*()` functions have been replaced with the corresponding
#' `db_schema_*()` functions.
#'
#' @keywords internal
#' @rdname deprecated
#' @export
sql_schema_create <- function(dest, schema, ...) {
# FIXME: Use sql_*() methods to construct the SQL code
# Challenge: How to run multi-statement code with cleanup?
deprecate_soft("0.2.5", "dm::sql_schema_create()", "dm::db_schema_create()")
check_dots_empty()
db_schema_create(dest, schema)
}
#' sql_schema_drop()
#'
#' @keywords internal
#' @rdname deprecated
#' @export
sql_schema_drop <- function(dest, schema, force = FALSE, ...) {
# FIXME: Use sql_*() methods to construct the SQL code
# Challenge: How to run multi-statement code with cleanup?
deprecate_soft("0.2.5", "dm::sql_schema_drop()", "dm::db_schema_drop()")
check_dots_empty()
db_schema_drop(dest, schema, force)
}
#' sql_schema_exists()
#'
#' @keywords internal
#' @rdname deprecated
#' @export
sql_schema_exists <- function(dest, schema, ...) {
# FIXME: Use sql_*() methods to construct the SQL code
# Challenge: How to run multi-statement code with cleanup?
deprecate_soft("0.2.5", "dm::sql_schema_exists()", "dm::db_schema_exists()")
check_dots_empty()
db_schema_exists(dest, schema)
}
#' sql_schema_list()
#'
#' @keywords internal
#' @rdname deprecated
#' @export
sql_schema_list <- function(dest, include_default = TRUE, ...) {
# FIXME: Use sql_*() methods to construct the SQL code
# Challenge: How to run multi-statement code with cleanup?
deprecate_soft("0.2.5", "dm::sql_schema_list()", "dm::db_schema_list()")
check_dots_empty()
db_schema_list(dest, include_default)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.