classOpenStar
final class OpenStar
uses Snapshot
Public API: explicitly declared with
@visibility public.A star projection that cannot be expanded because member lists are missing from the context.
It stands for an undetermined number of output positions. No placeholder fields are invented for them.
$operation = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT * FROM t');
$operation->facts->output?->projection[0] instanceof \SqlSemantics\Platform\Sqlite\Model\Statement\Shape\OpenStar // => trueProperties§
public non-empty-list<MissingInput> $missingMethods§
public function __construct(list<MissingInput> $missing)Parameters
$missing | list<MissingInput> | The member lists needed to expand the star; at least one |
Calls 2
- static-call Check::listOf() line 36
- class-const MissingInput::class() line 36
Test cases 11§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 8
QueryFactTest::testFieldsIsNullWhileAStarCannotBeExpandedcallsQueryFactTest::testFieldsOfAnAnalyzedOpenStarStayNullcallsQueryFactTest::testLookupIsDependentInAnOpenShapeEvenWhenACandidateIsKnowncallsCompoundFactsTest::testCombinedAnswersAnOpenStarWhenTheFirstArmIsOpencallsProjectionTest::testExpandAppendsAnOpenStarForAnIncompleteRelationcallsProjectionTest::testItemsNamesEveryKindOfResultColumncallsCompoundTest::testDeriveQueryKeepsAnUndeclaredFirstArmOpencallsSelectTest::testDeriveQueryGivesAnUndeclaredStarAnOpenProjectioncalls
Relations§
Instantiated in 2
Type checks 2
- instanceof SqlSemantics\Platform\Sqlite\Model\Statement\Fact\QueryFact::__construct() packages/sql-semantics-sqlite/src/Model/Statement/Fact/QueryFact.php:58
- instanceof SqlSemantics\Platform\Sqlite\Model\Statement\Fact\QueryFact::fields() packages/sql-semantics-sqlite/src/Model/Statement/Fact/QueryFact.php:77