interfaceResolution
interface Resolution
Public API: explicitly declared with
@visibility public.The outcome of resolving a name used as a value: resolved, missing, ambiguous, conditional, or an output alias.
Finding a candidate and resolving uniquely are different outcomes.
$semantics = new \SqlSemantics\Platform\PostgreSql\Semantics();
$table = $semantics->analyze('CREATE TABLE t (a INTEGER)');
$semantics->analyze('SELECT a FROM t', [$table])->field('a')->resolution instanceof \SqlSemantics\Platform\PostgreSql\Model\Statement\Reference\Column\ResolvedColumn // => trueRelations§
Implemented by 5
- AliasTarget packages/sql-semantics-postgres/src/Model/Statement/Reference/Column/AliasTarget.php:20
- AmbiguousColumn packages/sql-semantics-postgres/src/Model/Statement/Reference/Column/AmbiguousColumn.php:21
- ConditionalColumn packages/sql-semantics-postgres/src/Model/Statement/Reference/Column/ConditionalColumn.php:25
- MissingColumn packages/sql-semantics-postgres/src/Model/Statement/Reference/Column/MissingColumn.php:21
- ResolvedColumn packages/sql-semantics-postgres/src/Model/Statement/Reference/Column/ResolvedColumn.php:24
Type declarations 4
- type SqlSemantics\Platform\PostgreSql\Model\Resolution\ColumnLookup packages/sql-semantics-postgres/src/Model/Resolution/ColumnLookup.php:35
- type SqlSemantics\Platform\PostgreSql\Model\Statement\Fact\ScalarFact packages/sql-semantics-postgres/src/Model/Statement/Fact/ScalarFact.php:32
- type SqlSemantics\Platform\PostgreSql\Model\Statement\Shape\Field packages/sql-semantics-postgres/src/Model/Statement/Shape/Field.php:57
- type SqlSemantics\Platform\PostgreSql\Rules\Resolution\LateralReach packages/sql-semantics-postgres/src/Rules/Resolution/LateralReach.php:74