PHP Class SqlParser\Statements\RenameStatement
RENAME TABLE tbl_name TO new_tbl_name
[, tbl_name2 TO new_tbl_name2] ...
Mostra file
Open project: phpmyadmin/sql-parser
Public Properties
Property |
Type |
Description |
|
$renames |
SqlParser\Components\RenameOperation[] |
The old and new names of the tables. |
|
Public Methods
Method |
Description |
|
before ( Parser $parser, TokensList $list, Token $token ) : void |
Function called before the token is processed. |
|
Method Details
Skips the TABLE keyword after RENAME.
public before ( Parser $parser, TokensList $list, Token $token ) : void |
$parser |
SqlParser\Parser |
The instance that requests parsing. |
$list |
SqlParser\TokensList |
The list of tokens to be parsed. |
$token |
SqlParser\Token |
The token that is being parsed. |
return |
void |
|
Property Details
$renames public_oe property
The old and new names of the tables.
public RenameOperation[],SqlParser\Components $renames |
return |
SqlParser\Components\RenameOperation[] |
|