final class AlterOperation implements Component (View source)

Parses an alter operation.

Properties

OptionsArray|null $options

Options of this operation.

Expression|string|null $field

The altered field.

PartitionDefinition[]|null $partitions

The partitions.

Methods

__construct(OptionsArray|null $options = null, Expression|string|null $field = null, array|null $partitions = null, array $unknown = [])

No description

string
build()

Builds the string representation of a component of this type.

string
__toString()

No description

Details

__construct(OptionsArray|null $options = null, Expression|string|null $field = null, array|null $partitions = null, array $unknown = [])

No description

Parameters

OptionsArray|null $options

options of alter operation

Expression|string|null $field

altered field

array|null $partitions

partitions definition found in the operation

array $unknown

unparsed tokens found at the end of operation

string build()

Builds the string representation of a component of this type.

In other words, this function represents the inverse function of {\PhpMyAdmin\SqlParser\Component::parse()}.

Return Value

string

string __toString()

No description

Return Value

string