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\MySql\Semantics())->analyze('SELECT * FROM t');
$operation->facts->output?->projection[0] instanceof \SqlSemantics\Platform\MySql\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 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Other tests reaching this symbol 2
Relations§
Instantiated in 5
- new SqlSemantics\Platform\MySql\Rules\Dml\HandlerFacts::read() packages/sql-semantics-mysql/src/Rules/Dml/HandlerFacts.php:47
- new SqlSemantics\Platform\MySql\Rules\Query\Projection::expand() packages/sql-semantics-mysql/src/Rules/Query/Projection.php:138
- new SqlSemantics\Platform\MySql\Rules\Query\ResultSlots::combine() packages/sql-semantics-mysql/src/Rules/Query/ResultSlots.php:53
- new SqlSemantics\Platform\MySql\Rules\Query\TableShapes::explicit() packages/sql-semantics-mysql/src/Rules/Query/TableShapes.php:100
- new SqlSemantics\Platform\MySql\Rules\Utility\ShowFacts::query() packages/sql-semantics-mysql/src/Rules/Utility/ShowFacts.php:105
Type checks 3
- instanceof SqlSemantics\Platform\MySql\Model\Statement\Fact\QueryFact::__construct() packages/sql-semantics-mysql/src/Model/Statement/Fact/QueryFact.php:58
- instanceof SqlSemantics\Platform\MySql\Model\Statement\Fact\QueryFact::fields() packages/sql-semantics-mysql/src/Model/Statement/Fact/QueryFact.php:77
- instanceof SqlSemantics\Platform\MySql\Rules\ColumnResolver::unlisted() packages/sql-semantics-mysql/src/Rules/ColumnResolver.php:172