PHP Class SqlParser\Components\IntoKeyword

Inheritance: extends SqlParser\Component
Datei anzeigen Open project: phpmyadmin/sql-parser Class Usage Examples

Public Properties

Property Type Description
$columns array The name of the columns.
$dest string | Expression The destination, which can be a table or a file.
$type string Type of target (OUTFILE or SYMBOL).
$values ExpressionArray . INTO @var1)

Public Methods

Method Description
build ( IntoKeyword $component, array $options = [] ) : string
parse ( Parser $parser, TokensList $list, array $options = [] ) : IntoKeyword

Method Details

build() public static method

public static build ( IntoKeyword $component, array $options = [] ) : string
$component IntoKeyword The component to be built.
$options array Parameters for building.
return string

parse() public static method

public static parse ( Parser $parser, TokensList $list, array $options = [] ) : IntoKeyword
$parser SqlParser\Parser The parser that serves as context.
$list SqlParser\TokensList The list of tokens that are being parsed.
$options array Parameters for parsing.
return IntoKeyword

Property Details

$columns public_oe property

The name of the columns.
public array $columns
return array

$dest public_oe property

The destination, which can be a table or a file.
public string|Expression,SqlParser\Components $dest
return string | Expression

$type public_oe property

Type of target (OUTFILE or SYMBOL).
public string $type
return string

$values public_oe property

. INTO @var1)
public ExpressionArray,SqlParser\Components $values
return ExpressionArray