Learn R Programming

diseasystore (version 0.3.1)

drop_diseasystore: Drop feature stores from DB

Description

Drop feature stores from DB

Usage

drop_diseasystore(
  pattern = NULL,
  schema = diseasyoption("target_schema", namespace = "diseasystore"),
  conn = SCDB::get_connection()
)

Value

NULL (called for side effects)

Arguments

pattern

(character(1))
Pattern to match the tables by

schema

(character)
A database schema. If the database backend does not support schema, the tables will be prefixed with <schema>. The location where the diseasystore stores data.

conn

(DBIConnection or function)
A database connection or function that opens a database connection.

Examples

Run this code
if (FALSE) { # requireNamespace("RSQLite", quietly = TRUE)
  conn <- SCDB::get_connection(drv = RSQLite::SQLite())

  drop_diseasystore(conn = conn)

  DBI::dbDisconnect(conn)
}

Run the code above in your browser using DataLab