Intended for situations where you want to start all over,
this function will use direct SQL calls to either create a brand new database
or, if optionally drop=TRUE
, wipe out any existing database.
IMPORTANT: database connection is dropped regardless, so if you need a connection,
be sure reconnect.
1 2 3 4 5 6 |
conn_args |
connection |
db_name |
character string name for proposed new database |
drop |
Nuke a database with this name if it already exists (default = |
force |
override the warning about creating a database with the magic name |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.