final class JoinModifiers

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

Methods§

public function mask(string $word): int

Reads the semantic flag of a word recognized by sqlite3JoinType.

Parameters

$wordstring

Returns

int

Throws

LexicalException When registration data contains an unimplemented join word
Test cases 15
Called from 3
Calls 3
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 23§

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

Dedicated tests 15
Other tests reaching this symbol 8

Relations§

Instantiated in 1
Method calls 3
Type declarations 1