final class GroupKeyword implements Component (View source)

GROUP BY keyword parser.

Properties

string|null $type
Expression|null $expr

The expression that is used for grouping.

Methods

__construct(Expression|null $expr = null)

No description

string
build()

Builds the string representation of a component of this type.

string
__toString()

No description

Details

__construct(Expression|null $expr = null)

No description

Parameters

Expression|null $expr

the expression that we are sorting by

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