PHP Class SqlParser\Statements\ReplaceStatement
REPLACE [LOW_PRIORITY | DELAYED]
[INTO] tbl_name [(col_name,...)]
{VALUES | VALUE} ({expr | DEFAULT},...),(...),...
or
REPLACE [LOW_PRIORITY | DELAYED]
[INTO] tbl_name
SET col_name={expr | DEFAULT}, ...
or
REPLACE [LOW_PRIORITY | DELAYED]
[INTO] tbl_name
[PARTITION (partition_name,...)]
[(col_name,...)]
SELECT ...
Afficher le fichier
Open project: phpmyadmin/sql-parser
Méthodes publiques
Свойство |
Type |
Description |
|
$OPTIONS |
array |
Options for REPLACE statements and their slot ID. |
|
$into |
SqlParser\Components\IntoKeyword |
Tables used as target for this statement. |
|
$select |
SelectStatement |
If SELECT clause is present
holds the SelectStatement |
|
$set |
SqlParser\Components\SetOperation[] |
If SET clause is present
holds the SetOperation |
|
$values |
SqlParser\Components\Array2d |
Values to be replaced. |
|
Méthodes publiques
Method Details
public parse ( Parser $parser, TokensList $list ) : void |
$parser |
SqlParser\Parser |
The instance that requests parsing. |
$list |
SqlParser\TokensList |
The list of tokens to be parsed. |
Résultat |
void |
|
Property Details
$OPTIONS public_oe static_oe property
Options for REPLACE statements and their slot ID.
public static array $OPTIONS |
Résultat |
array |
|
Tables used as target for this statement.
public IntoKeyword,SqlParser\Components $into |
Résultat |
SqlParser\Components\IntoKeyword |
|
$select public_oe property
If SELECT clause is present
holds the SelectStatement
public SelectStatement,SqlParser\Statements $select |
Résultat |
SelectStatement |
|
If SET clause is present
holds the SetOperation
public SetOperation[],SqlParser\Components $set |
Résultat |
SqlParser\Components\SetOperation[] |
|
$values public_oe property
public Array2d,SqlParser\Components $values |
Résultat |
SqlParser\Components\Array2d |
|