IntoKeyword
class IntoKeyword extends Component (View source)
INTO
keyword parser.
Properties
static array | $FIELDS_OPTIONS | FIELDS/COLUMNS Options for SELECT...INTO statements. |
|
static array | $LINES_OPTIONS | LINES Options for SELECT...INTO statements. |
|
string | $type | Type of target (OUTFILE or SYMBOL). | |
string|Expression | $dest | The destination, which can be a table or a file. | |
array | $columns | The name of the columns. | |
Expression[] | $values | The values to be selected into (SELECT .. INTO @var1). | |
OptionsArray | $fields_options | Options for FIELDS/COLUMNS keyword. | |
bool | $fields_keyword | Whether to use FIELDS or COLUMNS while building. |
|
OptionsArray | $lines_options | Options for OPTIONS keyword. |
Methods
static mixed
static mixed
build(mixed $component, array $options = [])
No description
__construct(string $type = null, string|Expression $dest = null, array $columns = null, array $values = null, OptionsArray $fields_options = null, bool $fields_keyword = null)
No description
void
Details
static mixed
parse(Parser $parser, TokensList $list, array $options = [])
static mixed
build(mixed $component, array $options = [])
string
__toString()
Builds the string representation of a component of this type.