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

Derives the clauses written after a query: LIMIT, INTO and the locking clauses.

Rule: MYSQL-TAIL-FACTS-001. The LIMIT operands and the INTO targets see no column of the query. An INTO variable list whose length differs from the number of columns of a query whose columns are all known is reported. A table named by FOR UPDATE|SHARE OF that names no table of the query block is reported; over a set operation the tables are not checked. Source: https://dev.mysql.com/doc/refman/8.4/en/select-into.html, https://dev.mysql.com/doc/refman/8.4/en/innodb-locking-reads.html ("ER_UNRESOLVED_TABLE_LOCK"). Status: Implemented.

Methods§

public function derive(
    Derivation $derivation,
    Environment $outer,
    QueryFact $fact,
    ?IntoDestination $into,
    list<LockingClause> $locking,
    list<VisibleRelation>|null $visible,
): void

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 7
Method calls 7