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

Model methods without Raw SQLs #107

Open
hitendrasingh opened this issue Jul 13, 2022 · 0 comments
Open

Model methods without Raw SQLs #107

hitendrasingh opened this issue Jul 13, 2022 · 0 comments

Comments

@hitendrasingh
Copy link

Hi All,

I know the functionality of this gem to create SQL triggers on db tables. But I am curious, Is there any way to trigger Model functions without raw sql, like any job or Active record callback?
What I need to do is I want to write a custom method which triggers a sidekiq job in that function call, and that method needs to be triggered on the 'hair_trigger' triggers.
Support is appreciated.

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