enumLockWait
enum LockWait: string
Public API: explicitly declared with
@visibility public.What a locking clause does when a row is locked by another transaction; without it the query waits.
Mirrors PostgreSQL's LockWaitPolicy (the absence is kept as null). Source: https://www.postgresql.org/docs/17/sql-select.html#SQL-FOR-UPDATE-SHARE.
\SqlSemantics\Platform\PostgreSql\Statement\Query\Clause\LockWait::SkipLocked->value // => 'SKIP LOCKED'Cases§
case NoWait = 'NOWAIT'case SkipLocked = 'SKIP LOCKED'Test cases 2§
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 1
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Query\LimitRule::wait() packages/sql-semantics-postgres/src/Lowering/Query/LimitRule.php:266
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Query\LimitRule::wait() packages/sql-semantics-postgres/src/Lowering/Query/LimitRule.php:267
- class-const SqlSemantics\Platform\PostgreSql\Rules\Query\Limits::ties() packages/sql-semantics-postgres/src/Rules/Query/Limits.php:80