final class ShowTargets
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

Resolves the table a SHOW or DESCRIBE reports on.

Rule: MYSQL-SHOW-TARGET-001. The name resolves by CORE-TABLE-LOOKUP-001 in the database written after FROM or IN when there is one (it replaces a database written before the table name), else in the database written with the name, else in the current database; common table expressions are not visible. The fact of the InspectedTable node is that resolution with the shape of the table: one slot per declared column, an open shape for an undeclared table or an incomplete column list, an empty shape for a missing or conflicting name, which is a diagnostic (the server reports ER_NO_SUCH_TABLE). Terminates: one pass over the columns. Source: https://dev.mysql.com/doc/refman/8.4/en/show-columns.html ("SHOW COLUMNS FROM mytable FROM mydb" equals "SHOW COLUMNS FROM

  • mydb.mytable"). Status: Implemented.

Methods§

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 5
Method calls 5