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

Measures comments and quoted spans that cannot contain statement keywords.

Methods§

public function length(string $sql): ?int

Returns the opaque prefix length, or null when the first byte is syntax.

Parameters

$sqlstring

Returns

?int
Test cases 1
Called from 1
Calls 5

Test cases 28§

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 27

Relations§

Instantiated in 1
Method calls 1