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

Applies parameter casts from right to left without shifting pending byte offsets.

Methods§

public function apply(
    string $sql,
    array<int, array{length: int, sql: string}> $replacements,
): string

Parameters

$sqlstring
$replacementsarray<int, array{length: int, sql: string}>Cast expressions keyed by their original offset.

Returns

string
Test cases 1
Called from 1
Calls 2

Test cases 3§

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 2

Relations§

Instantiated in 1
Method calls 1