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

What a locking read does with a row another transaction has locked: NOWAIT or SKIP LOCKED.

Without an action the read waits for the lock. Source: https://dev.mysql.com/doc/refman/8.4/en/innodb-locking-reads.html.

Reading the action of a locking readdoctest
$query = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT a FROM t FOR UPDATE SKIP LOCKED');
    $query->statement->locking[0]->action // => \SqlSemantics\Platform\MySql\Statement\Query\Locking\LockedRowAction::SkipLocked

Cases§

case Nowait
case SkipLocked

Test cases 3§

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 2

Relations§

Constant reads 4
Type declarations 1