classIntoClauseRule
final class IntoClauseRule
implements RewriteRule
analyze.c:transformOptionalSelectInto accepts INTO only on a top-level query's leftmost SELECT.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequencePreserves standalone and EXPLAIN destinations while removing nested and later set-operand destinations.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 2
Calls 5
- method-call TerminalSequence::occurrences() line 23
- method-call TerminalSequence::range() line 24
- function-call
array_diffline 29 - method-call TerminalSequence::child() line 33
- function-call
in_arrayline 34
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
MySqlProviderTestcallsGenerationContextTestcallsRewriteDefinitionsTestcallsSqlGeneratorFactoryTestcallsPostgreSqlProviderTestcallsSqliteProviderTestcalls