Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TriggerOnMany to support trigger on multiple operations #1999

Open
amitaibu opened this issue Sep 2, 2024 · 0 comments
Open

Add TriggerOnMany to support trigger on multiple operations #1999

amitaibu opened this issue Sep 2, 2024 · 0 comments

Comments

@amitaibu
Copy link
Collaborator

amitaibu commented Sep 2, 2024

This Postgres trigger code doesn't work

CREATE TRIGGER post_revision_trigger
AFTER INSERT OR UPDATE ON posts
FOR EACH ROW
EXECUTE FUNCTION create_post_revision();

due to the INSERT OR UPDATE that doesn't have a valid type.

We should add a TriggerOnMany

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant