classNullFacts
final class NullFacts
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Conservative SQL NULL propagation, distinct from evaluating actual values.
Methods§
public static function strict(list<Expression> $operands): NullabilityParameters
$operands | list<Expression> |
Returns
Test cases 1
Called from 2
Calls 4
- class-const Nullability::AlwaysNull() line 25
- class-const Nullability::MaybeNull() line 28
- class-const Nullability::Unknown() line 29
- class-const Nullability::NotNull() line 32
public static function coalesce(list<Expression> $operands): NullabilityParameters
$operands | list<Expression> |
Returns
Test cases 1
Called from 2
Calls 4
- class-const Nullability::NotNull() line 43
- class-const Nullability::AlwaysNull() line 46
- class-const Nullability::Unknown() line 47
- class-const Nullability::MaybeNull() line 50
public static function extensions(
list<Expression> $operands,
Nullability $nullability,
): list<string>Parameters
$operands | list<Expression> | |
$nullability | Nullability |
Returns
list<string>Called from 3
- static-call SqlSemantics\Core\Binding\ExpressionRules::call() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:43
- static-call SqlSemantics\Core\Binding\ExpressionRules::call() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:51
- static-call SqlSemantics\Core\Binding\ExpressionRules::operator() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:98
Calls 4
- class-const Nullability::NotNull() line 59
- function-call
array_pushline 64 - function-call
array_valuesline 67 - function-call
array_uniqueline 67
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
SchemaAnalyzerTestcallsColumnPropertiesTestcallsColumnReaderTestcallsConstraintReaderTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsStatementListTestcallsTokenGroupsTestcallsTreeTestcallsTypeReaderTestcallsBinderTestcallsBoundRelationTestcallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTestcallsIdentitySequenceTestcallsLiteralBinderTestcallsProjectionBinderTestcallsScopeTestcallsSelectBinderTestcallsSelectModifiersBinderTestcallsSyntaxGuardTestcallsTableResolverTestcallsTypeResolutionTestcallsDialectTestcallsBoundSelectTestcallsColumnBindingTestcallsExpressionKindTestcallsExpressionTestcallsJoinKindTestcallsJoinTestcallsOrderingTestcallsOutputColumnTestcallsTableUseTestcallsPlatformTestcallsNameRulesTestcallsQueryRulesTestcallsSchemaRulesTestcallsSyntaxRulesTestcallsTypeRulesTestcallsColumnDefinitionTestcallsColumnGenerationTestcallsConstraintKindTestcallsGenerationKindTestcallsInvariantTestcallsTableConstraintTestcallsTableDefinitionTestcallsSchemaBuilderTestcallsSchemaTestcallsSemanticExceptionTestcallsNullabilityTestcallsTypeDescriptorTestcallsSchemaTestcallsNameRulesTestcallsPlatformTestcallsQueryRulesTestcallsSchemaRulesTestcallsTypeRulesTestcalls
Relations§
Static calls 7
- static-call SqlSemantics\Core\Binding\ExpressionRules::call() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:42
- static-call SqlSemantics\Core\Binding\ExpressionRules::call() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:43
- static-call SqlSemantics\Core\Binding\ExpressionRules::call() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:51
- static-call SqlSemantics\Core\Binding\ExpressionRules::operator() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:75
- static-call SqlSemantics\Core\Binding\ExpressionRules::operator() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:85
- static-call SqlSemantics\Core\Binding\ExpressionRules::operator() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:85
- static-call SqlSemantics\Core\Binding\ExpressionRules::operator() packages/sql-semantics/src/Core/Binding/ExpressionRules.php:98