IntoKeyword
final class IntoKeyword extends Component (View source)
INTO
keyword parser.
Properties
static array<string,int|array<int,int|string>> | $FIELDS_OPTIONS | FIELDS/COLUMNS Options for |
|
static array<string,int|array<int,int|string>> | $LINES_OPTIONS | LINES Options for |
|
string|null | $type | Type of target (OUTFILE or SYMBOL). |
|
string|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 | $fields_options | Options for FIELDS/COLUMNS keyword. |
|
bool|null | $fields_keyword | Whether to use |
|
OptionsArray|null | $lines_options | Options for OPTIONS keyword. |
Methods
static mixed
static mixed
build(mixed $component, array $options = [])
No description
__construct(string|null $type = null, string|Expression|null $dest = null, string[]|null $columns = null, Expression[]|null $values = null, OptionsArray|null $fieldsOptions = null, bool|null $fieldsKeyword = null)
No description
void
Details
static mixed
parse(Parser $parser, TokensList $list, array $options = [])
No description
static mixed
build(mixed $component, array $options = [])
No description
string
__toString()
Builds the string representation of a component of this type.
__construct(string|null $type = null, string|Expression|null $dest = null, string[]|null $columns = null, Expression[]|null $values = null, OptionsArray|null $fieldsOptions = null, bool|null $fieldsKeyword = null)
No description
void
parseFileOptions(Parser $parser, TokensList $list, string $keyword = 'FIELDS')
No description