rws_rename_table {readwritesqlite} | R Documentation |
Rename SQLite Table
Description
Rename SQLite Table
Usage
rws_rename_table(table_name, new_table_name, conn)
Arguments
table_name |
A string of the name of the table. |
new_table_name |
A string of the new name for the table. |
conn |
A SQLiteConnection to a database. |
Value
TRUE
See Also
Other rws_rename:
rws_drop_table()
,
rws_rename_column()
Examples
conn <- rws_connect()
rws_write(rws_data, exists = FALSE, conn = conn)
rws_list_tables(conn)
rws_rename_table("rws_data", "tableb", conn)
rws_list_tables(conn)
rws_disconnect(conn)
[Package readwritesqlite version 0.2.0 Index]