PHP Класс SqlParser\Components\IntoKeyword

Наследование: extends SqlParser\Component
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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)

Открытые методы

Метод Описание
build ( IntoKeyword $component, array $options = [] ) : string
parse ( Parser $parser, TokensList $list, array $options = [] ) : IntoKeyword

Описание методов

build() публичный статический Метод

public static build ( IntoKeyword $component, array $options = [] ) : string
$component IntoKeyword The component to be built.
$options array Parameters for building.
Результат string

parse() публичный статический Метод

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.
Результат IntoKeyword

Описание свойств

$columns публичное свойство

The name of the columns.
public array $columns
Результат array

$dest публичное свойство

The destination, which can be a table or a file.
public string|Expression,SqlParser\Components $dest
Результат string | Expression

$type публичное свойство

Type of target (OUTFILE or SYMBOL).
public string $type
Результат string

$values публичное свойство

. INTO @var1)
public ExpressionArray,SqlParser\Components $values
Результат ExpressionArray