classUniqueField
final class UniqueField
implements FieldLookup
uses Snapshot
Public API: explicitly declared with
@visibility public.Exactly one output field has the looked-up name.
$operation = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT 1 AS a');
$operation->lookupField('a')->field->position // => 0Properties§
public Field $fieldMethods§
Test cases 8§
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 7
QueryFactTest::testLookupDistinguishesUniqueAndAbsentInACompleteShapecallsOperationTest::testLookupFieldTellsTheOutcomesApartcallsFieldLookupTest::testTheFourOutcomesAreTheOnlyLookupResultscallsFieldsTest::testLookupIsSensitiveWhenTheProfileSaysSocallsFieldsTest::testLookupTellsOneNoneAndSeveralApartcallsExplainRowsTest::testFactListsTheFourColumnsOfAQueryPlanReportcallsResultNamesTest::testUnnamedAnswersTheInputsAnUndecidedNameDependsOncalls