IntoKeyword
final class IntoKeyword implements Component (View source)
INTO
keyword parser.
Constants
private STATEMENT_FIELDS_OPTIONS |
FIELDS/COLUMNS Options for |
private STATEMENT_LINES_OPTIONS |
LINES Options for |
Properties
string|null | $type | Type of target (OUTFILE or SYMBOL). |
|
Expression|null | $dest | The destination, which can be a table or a file. |
|
string[]|null | $columns | The name of the columns. |
|
Expression[]|null | $values | The values to be selected into (SELECT .. INTO @var1). |
|
OptionsArray|null | $fieldsOptions | Options for FIELDS/COLUMNS keyword. |
|
bool|null | $fieldsKeyword | Whether to use |
|
OptionsArray|null | $linesOptions | Options for OPTIONS keyword. |
Methods
No description
Builds the string representation of a component of this type.
No description
Details
__construct(string|null $type = null, Expression|null $dest = null, array|null $columns = null, array|null $values = null, OptionsArray|null $fieldsOptions = null, bool|null $fieldsKeyword = null)
No description
void
parseFileOptions(Parser $parser, TokensList $list, string $keyword = 'FIELDS')
No description
string
build()
Builds the string representation of a component of this type.
In other words, this function represents the inverse function of {\PhpMyAdmin\SqlParser\Component::parse()}.
string
__toString()
No description