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

CRUD hooks #83

Open
gammelalf opened this issue Feb 17, 2025 · 0 comments
Open

CRUD hooks #83

gammelalf opened this issue Feb 17, 2025 · 0 comments

Comments

@gammelalf
Copy link
Member

Just some random thought for a potential feature

Some kind of hooks / callbacks an application author (or anyone depending on rorm) can configure which will be invoked for every crud function executed.

This could for example be some optional parameter for the Database struct.

Using hooks, an application or library author could write assertions, logs, metrics or other custom behaviour which would be guaranteed to run on every crud operation.

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