classSqlEdits
final class SqlEdits
Restricted visibility: declared "@visibility ZtdQuery\Platform\Sqlite". Code outside that scope must not name this declaration.
Applies non-overlapping source edits without invalidating earlier byte offsets.
Methods§
public function apply(
string $sql,
list<array{offset: int, length: int, value: string}> $edits,
): stringParameters
$sql | string | |
$edits | list<array{offset: int, length: int, value: string}> | Edits in ascending source order. |
Returns
stringTest cases 1
Called from 1
Test cases 8§
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 7
SqliteRewriterTestcallsStatementRewriterTestcallsInsertTransformerTestcallsSqliteTransformerTestcallsSqliteNativeUpsertProjectorTestcallsUpsertExpressionBinderTestcallsSqliteSessionFactoryTestcalls