classSelectModifiersBinder
final class SelectModifiersBinder
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Reads ordering and pagination without confusing output aliases with input names.
Methods§
public function ordering(
Node $statement,
Scope $scope,
list<OutputColumn> $outputs,
): list<Ordering>Parameters
$statement | Node | |
$scope | Scope | |
$outputs | list<OutputColumn> |
Returns
list<Ordering>Test cases 1
Called from 1
Calls 8
- static-call Tree::assertChildren() line 30
- static-call Tree::child() line 31
- static-call Tree::unsupported() line 33
- method-call SelectModifiersBinder::sortExpression() line 37
- new Ordering line 38
- function-call
strtoupperline 38 - static-call Tree::text() line 38
- function-call
str_containsline 38
public function sortExpression(
Node $node,
Scope $scope,
list<OutputColumn> $outputs,
): ExpressionParameters
$node | Node | |
$scope | Scope | |
$outputs | list<OutputColumn> |
Returns
Throws
Called from 1
Calls 9
- method-call Node::tokens() line 50
- function-call
countline 51 - function-call
in_arrayline 51 - function-call
ctype_digitline 53 - new SemanticException line 56
- function-call
array_valuesline 61 - function-call
array_filterline 61 - method-call ExpressionBinder::bind() line 70
- new ExpressionBinder line 70
public function pagination(Node $statement, Scope $scope): array{?Expression, ?Expression}Returns
array{?Expression, ?Expression}Called from 1
Calls 9
- static-call Tree::outer() line 78
- function-call
strtoupperline 80 - static-call Tree::unsupported() line 81
- function-call
array_mapline 84 - method-call ExpressionBinder::bind() line 84
- new ExpressionBinder line 84
- function-call
countline 85 - function-call
str_containsline 88 - static-call Tree::text() line 88
Test cases 60§
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 59
SchemaAnalyzerTestcallsColumnPropertiesTestcallsColumnReaderTestcallsConstraintReaderTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsStatementListTestcallsTokenGroupsTestcallsTreeTestcallsTypeReaderTestcallsBinderTestcallsBoundRelationTestcallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTestcallsIdentitySequenceTestcallsLiteralBinderTestcallsNullFactsTestcallsProjectionBinderTestcallsScopeTestcallsSelectBinderTestcallsSyntaxGuardTestcallsTableResolverTestcallsTypeResolutionTestcallsDialectTestcallsBoundSelectTestcallsColumnBindingTestcallsExpressionKindTestcallsExpressionTestcallsJoinKindTestcallsJoinTestcallsOrderingTestcallsOutputColumnTestcallsTableUseTestcallsPlatformTestcallsNameRulesTestcallsQueryRulesTest::testOrderingNodesHonorsAnInjectedPolicycallsSchemaRulesTestcallsSyntaxRulesTestcallsTypeRulesTestcallsColumnDefinitionTestcallsColumnGenerationTestcallsConstraintKindTestcallsGenerationKindTestcallsInvariantTestcallsTableConstraintTestcallsTableDefinitionTestcallsSchemaBuilderTestcallsSchemaTestcallsSemanticExceptionTestcallsNullabilityTestcallsTypeDescriptorTestcallsSchemaTestcallsNameRulesTestcallsPlatformTestcallsQueryRulesTestcallsSchemaRulesTestcallsTypeRulesTestcalls