final class Join
Public API: explicitly declared with @visibility public.

A join with its own match predicate and NULL extension identity.

Accept this semantic value in a database-independent consumerdoctest
$consume = static fn (\SqlSemantics\Core\Model\Join $value): string => $value::class;
    $consume instanceof \Closure // => true

Properties§

public string $id
public JoinKind $kind
public TableUse|Join $left
public TableUse|Join $right
public Expression|null $condition
public Node $source

Methods§

public function __construct(
    public string $id,
    public JoinKind $kind,
    public TableUse|Join $left,
    public TableUse|Join $right,
    public Expression|null $condition,
    public Node $source,
)

Parameters

$idstringQuery-local join identity
$kindJoinKindJoin operation
$leftTableUse|JoinLeft input
$rightTableUse|JoinRight input
$conditionExpression|nullMatch predicate, evaluated before this join extends NULLs
$sourceNodeOriginal join syntax

Test cases 61§

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

Dedicated tests 1
Other tests reaching this symbol 60

Relations§

Instantiated in 1
Type declarations 2