final class ExpressionAliaser
Restricted visibility: declared "@visibility ZtdQuery\Platform\MySql". Code outside that scope must not name this declaration.

Expression Aliaser.

Constants§

public const SELECT_LIST_TERMINATORS = ['FROM', 'WHERE', 'GROUP', 'HAVING', 'ORDER', 'LIMIT', 'UNION', 'INTERSECT', 'E…

Select list terminators.

Methods§

public function endsSelectList(SqlToken $token): bool
public function removeModifiers(string $expression): array{modifiers: string, expression: string}

Parameters

$expressionstring

Returns

array{modifiers: string, expression: string}
Test cases 1
Called from 1
Calls 5
public function withoutExplicitAlias(string $expression): string

Without Explicit Alias for the supplied MySQL input.

Parameters

$expressionstring

Returns

string
Test cases 1
Called from 1
Calls 6

Private surface 1§

Implementation details, listed for orientation only.

private const MODIFIERS = ['ALL', 'DISTINCT', 'DISTINCTROW', 'HIGH_PRIORITY', 'STRAIGHT_JOIN', 'SQL_SMALL…

Test cases 15§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 5
Other tests reaching this symbol 10

Relations§

Instantiated in 5
Method calls 5
Constant reads 1