classJoinRule
final class JoinRule
implements RewriteRule
Declares the word domain checked by select.c/sqlite3JoinType and the source-list condition on ON/USING.
Methods§
public function rewrite(TerminalSequence $sequence): TerminalSequenceIdentifies modifier positions structurally and removes conditions on a first, unjoined table.
Parameters
$sequence | TerminalSequence |
Returns
Test cases 3
JoinRuleTest::testRewriteKeepsConditionsOfAJoinedTablecovers and callsJoinRuleTest::testRewriteMarksOnlyDirectModifierNamescovers and callsJoinRuleTest::testRewriteRemovesConditionsOnlyWhenTheCorrespondingPrefixIsEmptycovers and calls
Calls 2
- method-call TerminalSequence::occurrences() line 23
- method-call TerminalSequence::range() line 28
Test cases 9§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
JoinRuleTest::testRewriteKeepsConditionsOfAJoinedTablecovers and callsJoinRuleTest::testRewriteMarksOnlyDirectModifierNamescovers and callsJoinRuleTest::testRewriteRemovesConditionsOnlyWhenTheCorrespondingPrefixIsEmptycovers and calls
Other tests reaching this symbol 6
MySqlProviderTestcallsPostgreSqlProviderTestcallsSqlGeneratorFactoryTestcallsGenerationContextTestcallsRewriteDefinitionsTestcallsSqliteProviderTestcalls