classUndeclaredTable
final class UndeclaredTable
implements TableResolution
uses Snapshot
Public API: explicitly declared with
@visibility public.A relation name an open context has no declaration for; it may exist in the database.
$query = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT a FROM t');
$query->facts->relation($query->inputRelation())->table->missing->name->name->value // => 't'Properties§
public UndeclaredRelation $missingMethods§
public function __construct(public UndeclaredRelation $missing)Parameters
$missing | UndeclaredRelation | The missing declaration |
Test cases 4§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Other tests reaching this symbol 4
Relations§
Instantiated in 1
Type checks 5
- instanceof SqlSemantics\Platform\MySql\Rules\Account\PrivilegeChecks::target() packages/sql-semantics-mysql/src/Rules/Account/PrivilegeChecks.php:183
- instanceof SqlSemantics\Platform\MySql\Rules\Query\TableShapes::named() packages/sql-semantics-mysql/src/Rules/Query/TableShapes.php:68
- instanceof SqlSemantics\Platform\MySql\Rules\TableChange\Targets::target() packages/sql-semantics-mysql/src/Rules/TableChange/Targets.php:59
- instanceof SqlSemantics\Platform\MySql\Rules\TableDefinition\TableTargets::existing() packages/sql-semantics-mysql/src/Rules/TableDefinition/TableTargets.php:85
- instanceof SqlSemantics\Platform\MySql\Rules\Utility\ShowTargets::derive() packages/sql-semantics-mysql/src/Rules/Utility/ShowTargets.php:55