final class PartitionDefinitions implements Parseable (View source)

Parses the create definition of a partition.

Used for parsing CREATE TABLE statement.

Properties

static array<string,int|array<int,int|string>> $partitionOptions

All field options.

Methods

static Component|array|null
parse(Parser $parser, TokensList $list, array $options = [])

No description

static string
buildAll(array $component)

No description

Details

static Component|array|null parse(Parser $parser, TokensList $list, array $options = [])

No description

Parameters

Parser $parser

the parser that serves as context

TokensList $list

the list of tokens that are being parsed

array $options

parameters for parsing

Return Value

Component|array|null

static string buildAll(array $component)

No description

Parameters

array $component

the component to be built

Return Value

string