final class SqliteFullTextSearchRewriter

Replaces FTS virtual-table operators with expressions executable over shadow CTE rows.

Type Aliases§

TableContext = array{viewSql: string}|array{columns: array<int, string>}

Methods§

public function __construct()

Binds the dependencies used by this operation.

Calls 2
public function rewrite(string $sql, array<string, TableContext> $tables): string

Parameters

$sqlstring
$tablesarray<string, TableContext>

Returns

string
Test cases 11
Called from 1
Calls 6

Private surface 2§

Implementation details, listed for orientation only.

private SqliteIdentifierQuoter $quoter
private SqliteParser $parser

Test cases 19§

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

Dedicated tests 11
Other tests reaching this symbol 8

Relations§

Instantiated in 1
Method calls 1
Type declarations 1