classQueryRules
final class QueryRules
implements QueryRules
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
MySql QueryRules implementation.
Methods§
public function relation(Node $node, FromBinder $binder): BoundRelationInterprets one table reference or join using the core relation binder.
Parameters
$node | Node | |
$binder | FromBinder |
Returns
Calls 6
- static-call Tree::outer() line 51
- static-call Tree::child() line 53
- static-call Tree::unsupported() line 54
- method-call QueryRules::joined() line 56
- static-call Tree::assertChildren() line 67
- method-call FromBinder::table() line 69
public function joined(Node $node, FromBinder $binder): BoundRelationBinds a MySql joined-table grammar node.
Parameters
$node | Node | |
$binder | FromBinder |
Returns
Called from 1
Calls 14
- static-call Tree::outer() line 77
- function-call
countline 78 - static-call Tree::unsupported() line 79
- static-call Tree::child() line 81
- class-const JoinKind::Inner() line 82
- method-call FromBinder::kind() line 82
- static-call Tree::text() line 82
- function-call
strtoupperline 84 - function-call
in_arrayline 88 - function-call
array_mapline 88 - method-call Node::tokens() line 88
- class-const JoinKind::Cross() line 89
- method-call FromBinder::relation() line 92
- method-call FromBinder::join() line 97
Test cases 61§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
QueryRulesTestcallsQueryRulesTestcalls
Other tests reaching this symbol 59
SchemaAnalyzerTestcallsColumnPropertiesTestcallsColumnReaderTestcallsConstraintReaderTestcallsDialectParserTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsStatementListTestcallsTokenGroupsTestcallsTreeTestcallsTypeReaderTestcallsBinderTestcallsBoundRelationTestcallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTestcallsIdentitySequenceTestcallsLiteralBinderTestcallsNullFactsTestcallsProjectionBinderTestcallsScopeTestcallsSelectBinderTestcallsSelectModifiersBinderTestcallsSyntaxGuardTestcallsTableResolverTestcallsTypeResolutionTestcallsDialectTestcallsBoundSelectTestcallsColumnBindingTestcallsExpressionKindTestcallsExpressionTestcallsJoinKindTestcallsJoinTestcallsOrderingTestcallsOutputColumnTestcallsTableUseTestcallsPlatformTestcallsNameRulesTestcallsSchemaRulesTestcallsSyntaxRulesTestcallsTypeRulesTestcallsColumnDefinitionTestcallsColumnGenerationTestcallsConstraintKindTestcallsGenerationKindTestcallsInvariantTestcallsTableConstraintTestcallsTableDefinitionTestcallsSchemaBuilderTestcallsSchemaTestcallsSemanticExceptionTestcallsNullabilityTestcallsTypeDescriptorTestcallsSchemaTestcallsNameRulesTestcallsPlatformTestcallsSchemaRulesTestcallsTypeRulesTestcalls