final class JoinModifiers

The word flags and validity conditions in SQLite 3.47.2 select.c/sqlite3JoinType.

Methods§

public function valid(int $mask, bool $hasCondition): bool

Rejects incompatible inner/outer flags, bare OUTER and NATURAL joins carrying ON or USING.

Parameters

$maskint
$hasConditionbool

Returns

bool
Test cases 2
Called from 1
public function canComplete(
    int $mask,
    int $remaining,
    bool $hasCondition,
    list<string> $words,
): bool

Checks every reachable flag state of the still-unselected prefix, independently of spelling choices.

Parameters

$maskint
$remainingint
$hasConditionbool
$wordslist<string>Spellings available for the fixed release

Returns

bool

Throws

LexicalException When registration data contains an unimplemented join word
Test cases 1
Called from 1
Calls 3

Private surface 1§

Implementation details, listed for orientation only.

private const WORDS = ['NATURAL' => 1, 'LEFT' => 2 | 4, 'OUTER' => 4, 'RIGHT' => 8 | 4, 'FULL' => 2 |…

Test cases 13§

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 8

Relations§

Instantiated in 1
Method calls 3
Type declarations 1