enum PolicyCommand: string
Public API: explicitly declared with @visibility public.

The commands a row security policy applies to.

Mirrors the cmd_name of CreatePolicyStmt. ALL is the default and is kept when written. Source: https://www.postgresql.org/docs/17/sql-createpolicy.html.

Reading the command of a policydoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE POLICY p ON t FOR SELECT USING (true)')->statement->command // => \SqlSemantics\Platform\PostgreSql\Statement\Table\Policy\PolicyCommand::Select

Cases§

case All = 'ALL'
case Select = 'SELECT'
case Insert = 'INSERT'
case Update = 'UPDATE'
case Delete = 'DELETE'

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 5
Type declarations 2