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

Parses column assignments while preserving nested value expressions.

Methods§

public function extractUpdateAssignments(string $sql): array<string, string>

Extract SET assignments from an UPDATE statement.

Parameters

$sqlstring

Returns

array<string, string> Column name => value expression.
Test cases 31
Called from 1
Calls 3
public function parseAssignments(string $setClause): array<string, string>

Test cases 67§

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

Dedicated tests 44
Other tests reaching this symbol 23

Relations§

Instantiated in 2
Method calls 2