classDependentField
final class DependentField
implements FieldLookup
uses Snapshot
Public API: explicitly declared with
@visibility public.A field lookup that missing declarations leave undecided.
The known fields with the name are candidates; an unexpanded star may add further fields with that name, so no candidate is chosen.
$operation = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT * FROM t');
$operation->lookupField('a') instanceof \SqlSemantics\Platform\MySql\Model\Statement\Shape\DependentField // => trueProperties§
public list<Field> $candidatespublic non-empty-list<MissingInput> $missingpublic string $nameMethods§
public function __construct(
public string $name,
list<Field> $candidates,
list<MissingInput> $missing,
)Parameters
$name | string | The looked-up name |
$candidates | list<Field> | The known fields with the name |
$missing | list<MissingInput> | The inputs needed to decide the lookup; at least one |
Calls 3
- static-call Check::listOf() line 43
- class-const Field::class() line 43
- class-const MissingInput::class() line 44
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.