enum IntoPosition
Public API: explicitly declared with @visibility public.

Where an INTO clause is written in a query.

MySQL accepts INTO right after the select list, after the clauses of the query (before a locking clause), or after the locking clauses; the position does not change the meaning and is kept as written. Source: https://dev.mysql.com/doc/refman/8.4/en/select-into.html.

Reading where an INTO clause is writtendoctest
$query = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT a FROM t INTO @x');
    $query->statement->intoPosition // => \SqlSemantics\Platform\MySql\Statement\Query\Into\IntoPosition::AfterQuery

Cases§

case AfterItems
case AfterQuery
case AfterLocking

Test cases 7§

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 6

Relations§

Constant reads 18
Type declarations 4