final class FactorRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql\Lowering\Query". Code outside that scope must not name this declaration.

Lowers the table factors of the 8.0 and later grammars.

Rule: MYSQL-FACTOR-MODERN-001. Scope: table_factor (8.0 and later), single_table_parens, joined_table_parens, table_reference_list_parens, derived_table, table_function. Parentheses around references are nested relations, one pair each; the parentheses a derived table requires belong to it. Constructs: TableReference (through the table parts), NestedRelation, TableList, DerivedTable, JsonTable. Terminates: recursion follows strictly smaller parts; the lists are flattened iteratively. Source: https://dev.mysql.com/doc/refman/8.4/en/join.html, https://dev.mysql.com/doc/refman/8.4/en/derived-tables.html, https://dev.mysql.com/doc/refman/8.4/en/json-table-functions.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to
public function function(Node $function): JsonTable

Private surface 1§

Implementation details, listed for orientation only.

private Lowering $lowering

Relations§

Instantiated in 1
Method calls 1