final class Joining
Restricted visibility: declared "@visibility SqlSemantics\Platform\Sqlite". Code outside that scope must not name this declaration.

Combines the visible relations of the two sides of a join.

Rule: SQLITE-JOIN-001. A LEFT join can extend the rows of its right side with NULLs, a RIGHT join those of everything to its left, a FULL join both; the columns of an extended side can be NULL in the occurrence and keep their declaration. For each column named by USING, or common to both sides of a NATURAL join, the column of the right side is merged into the leftmost column of that name: an unqualified name and the star see the merged column once. Under a RIGHT or FULL join the merged column is the first non-NULL of both, so its type is the choice over both. A USING column that one side certainly lacks is reported. Source: https://sqlite.org/lang_select.html#the_from_clause. Status: Implemented.

Methods§

public function coalesced(
    VisibleRelation $kept,
    int $position,
    OutputSlot $other,
): VisibleRelation

Answers a relation whose merged column takes the first non-NULL of its own slot and the slot merged into it.

Parameters

$keptVisibleRelation
$positionint
$otherOutputSlot
Test cases 1
Called from 1
Calls 5

Test cases 10§

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

Dedicated tests 10

Relations§

Instantiated in 4
Method calls 5