View source: R/db-setup-tools.R
| db_delete | R Documentation |
Delete the local SQL database and/or restez folder.
db_delete(everything = FALSE)
everything |
T/F, delete the whole restez folder as well? |
Any connected database will be automatically disconnected.
Other database:
count_db_ids(),
db_create(),
db_download(),
demo_db_create(),
is_in_db(),
list_db_ids()
library(restez)
fp <- tempdir()
restez_path_set(filepath = fp)
demo_db_create(n = 10)
db_delete(everything = FALSE)
# Will not run: gb_sequence_get(id = 'demo_1')
# only the SQL database is deleted
db_delete(everything = TRUE)
# Now returns NULL
(restez_path_get())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.