Rename
Rename Method
Table Of Rename Method
Parameters
- table (the name of the table to rename)
- new_table_name (the new table name)
rename(table, new_table_name)
Example Usage
await db.rename("my_table", "new_name");
// -> renames table name
Returned Data
Returns true if the table has been renamed successfully
true