classRelationNameRule
final class RelationNameRule
implements RewriteRule
gram.y/makeRangeVarFromQualifiedName accepts at most three String components, without star or subscripts.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceRemoves invalid relation-name indirections while preserving ordinary column and expression indirections.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 2
Calls 6
- function-call
array_reverseline 24 - method-call TerminalSequence::occurrences() line 24
- method-call TerminalSequence::range() line 25
- function-call
countline 30 - function-call
in_arrayline 34 - method-call TerminalSequence::nameAt() line 39
Test cases 8§
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 6
MySqlProviderTestcallsGenerationContextTestcallsRewriteDefinitionsTestcallsPostgreSqlProviderTestcallsSqlGeneratorFactoryTestcallsSqliteProviderTestcalls