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

The command a rule rewrites.

Mirrors the CmdType of RuleStmt. Source: https://www.postgresql.org/docs/17/sql-createrule.html.

Reading the event of a ruledoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE RULE r AS ON DELETE TO t DO INSTEAD NOTHING')->statement->event // => \SqlSemantics\Platform\PostgreSql\Statement\Table\View\RuleEvent::Delete

Cases§

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

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