PHP Class SqlParser\Statements\RenameStatement

RENAME TABLE tbl_name TO new_tbl_name [, tbl_name2 TO new_tbl_name2] ...
Inheritance: extends SqlParser\Statement
Afficher le fichier Open project: phpmyadmin/sql-parser

Méthodes publiques

Свойство Type Description
$renames SqlParser\Components\RenameOperation[] The old and new names of the tables.

Méthodes publiques

Méthode Description
before ( Parser $parser, TokensList $list, Token $token ) : void Function called before the token is processed.

Method Details

before() public méthode

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.
Résultat void

Property Details

$renames public_oe property

The old and new names of the tables.
public RenameOperation[],SqlParser\Components $renames
Résultat SqlParser\Components\RenameOperation[]