classUnknownPlanColumnException
final class UnknownPlanColumnException
extends PlanSchemaException
A relation names a column absent from the schema.
Properties§
public ColumnRef $referencepublic string $columnpublic TableSchema $schemaMethods§
public function __construct(
public ColumnRef $reference,
public string $column,
public TableSchema $schema,
)A relation names a column absent from the schema.
Parameters
$reference | ColumnRef | |
$column | string | |
$schema | TableSchema |
Calls 5
- static-call PlanSchemaException::__construct() line 24
- function-call
sprintfline 24 - method-call ColumnRef::toString() line 26
- function-call
implodeline 29 - method-call TableSchema::getColumnNames() line 29
Test cases 13§
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 12
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsGeneratedColumnReferenceExceptionTestcallsMissingRelationValueExceptionTestcallsRelationProjectionTestcallsRowMaterializerTestcallsPlanGeneratorTest::testAPlanNamingAColumnTheTableLacksIsRejectedBeforeGeneratingcallsPlanSchemaExceptionTest::testUnknownColumnNamesTheLinkTheTableAndWhatItDoesHavecallsPlanSchemaValidatorTestcallsEndpointValidatorTestcallsFixtureProviderTestcallsSqlSchemaProviderTestcalls