Drops SQLite table using DROP TABLE.
Arguments
- table_name
A string of the name of the table.
- conn
A RSQLite::SQLiteConnection to a database.
See also
Other rws_rename:
rws_rename_column()
,
rws_rename_table()
Examples
conn <- rws_connect()
rws_write(rws_data, exists = FALSE, conn = conn)
rws_list_tables(conn)
#> [1] "rws_data"
rws_drop_table("rws_data", conn = conn)
#> [1] TRUE
rws_list_tables(conn)
#> character(0)
rws_disconnect(conn)