final class AlterOperation extends SerializableComponent (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

string
__toString()

No description

array
jsonSerialize()

No description

__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.

Details

string __toString()

No description

Return Value

string

array jsonSerialize()

No description

Return Value

array

__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