Closed LeoniePhiline closed 1 year ago
RENAME TABLE `tbl_old` TO `tbl_new`;
https://mariadb.com/kb/en/rename-table/
RENAME TABLE[S] [IF EXISTS] tbl_name [WAIT n | NOWAIT] TO new_tbl_name [, tbl_name2 TO new_tbl_name2] ...
New $._rename_statement, or directly $.rename_table at: https://github.com/DerekStride/tree-sitter-sql/blob/main/grammar.js#L484-L488
$._rename_statement
$.rename_table
Definition of rename_table, similar to, but simpler than alter_table.
rename_table
alter_table
Wow, thanks @matthias-Q !
Documentation
https://mariadb.com/kb/en/rename-table/
Error
Syntax
Adjustments
New
$._rename_statement
, or directly$.rename_table
at: https://github.com/DerekStride/tree-sitter-sql/blob/main/grammar.js#L484-L488Definition of
rename_table
, similar to, but simpler thanalter_table
.