classOpaqueSqlSpan
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): ?intReturns the opaque prefix length, or null when the first byte is syntax.
Parameters
$sql | string |
Returns
?intTest cases 1
Called from 1
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
ReferencedTableLookupTestcallsMatchExpressionRewriterTestcallsSqliteFullTextSearchRewriterTestcallsSqliteQueryGuardTestcallsSqliteRewriterTestcallsStatementRewriterTestcallsDeleteTransformerTestcallsInsertProjectionBuilderTestcallsInsertTransformerTestcallsSelectTransformerTestcallsSqliteTransformerTestcallsUpdateTransformerTestcallsColumnDefinitionParserTestcallsTableDefinitionBuilderTestcallsVirtualTableParserTestcallsSqliteSchemaParserTestcallsAddColumnResolverTestcallsInsertMutationResolverTestcallsRowMutationResolverTestcallsTableMutationResolverTestcallsSqliteMutationResolverTestcallsInsertClauseParserTestcallsTopLevelKeywordScannerTestcallsSqliteParserTestcallsStatementClassifierTestcallsTargetTableParserTestcallsSqliteSessionFactoryTestcalls