PHP 클래스 SqlParser\Components\AlterOperation

저자: Dan Ungureanu ([email protected])
상속: extends SqlParser\Component
파일 보기 프로젝트 열기: phpmyadmin/sql-parser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$DB_OPTIONS array All database options
$TABLE_OPTIONS array All table options
$VIEW_OPTIONS array All view options
$field Expression The altered field.
$options OptionsArray Options of this operation.
$unknown SqlParser\Token[] | string Unparsed tokens.

공개 메소드들

메소드 설명
build ( AlterOperation $component, array $options = [] ) : string
parse ( Parser $parser, TokensList $list, array $options = [] ) : AlterOperation

메소드 상세

build() 공개 정적인 메소드

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

parse() 공개 정적인 메소드

public static parse ( Parser $parser, TokensList $list, array $options = [] ) : AlterOperation
$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.
리턴 AlterOperation

프로퍼티 상세

$DB_OPTIONS 공개적으로 정적으로 프로퍼티

All database options
public static array $DB_OPTIONS
리턴 array

$TABLE_OPTIONS 공개적으로 정적으로 프로퍼티

All table options
public static array $TABLE_OPTIONS
리턴 array

$VIEW_OPTIONS 공개적으로 정적으로 프로퍼티

All view options
public static array $VIEW_OPTIONS
리턴 array

$field 공개적으로 프로퍼티

The altered field.
public Expression,SqlParser\Components $field
리턴 Expression

$options 공개적으로 프로퍼티

Options of this operation.
public OptionsArray,SqlParser\Components $options
리턴 OptionsArray

$unknown 공개적으로 프로퍼티

Unparsed tokens.
public Token[],SqlParser|string $unknown
리턴 SqlParser\Token[] | string