truncate_table | R Documentation |
Generate a TRUNCATE TABLE statement, optionally execute the statement if con is not NULL.
truncate_table(args, con = NULL)
args |
A string, the arguments to add to the TRUNCATE TABLE statement. |
con |
A database connection that can be passed to DBI::dbSendQuery/DBI::dbGetQuery. |
A string, the TRUNCATE TABLE statement; or the results retrieved by DBI::dbGetQuery after executing the statement.
truncate_table(args = "table1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.