Files
dolthub--doltgresql/testing/generation/command_docs/synopses/create_rule.txt
T
2026-07-13 12:32:25 +08:00

8 lines
234 B
Plaintext

CREATE [ OR REPLACE ] RULE $name$ AS ON $event$
TO $table_name$ [ WHERE $condition$ ]
DO [ ALSO | INSTEAD ] { NOTHING | $command$ | ( $command$ { ; $command$ } [ ... ] ) }
where $event$ is:
SELECT | INSERT | UPDATE | DELETE