final class UpdateClauseParser
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Extracts PostgreSQL UPDATE aliases and assignments.

Methods§

public function extractUpdateAlias(string $sql): ?string
public function extractUpdateSets(string $sql): array<string, string>

Extract SET assignments from UPDATE statement.

Parameters

$sqlstring

Returns

array<string, string> column => value expression
Test cases 1
Called from 1
Calls 6

Test cases 21§

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

Dedicated tests 2
Other tests reaching this symbol 19

Relations§

Instantiated in 2
Method calls 2