Skip to content

Reuse Hook #1206

Discussion options

You must be logged in to vote

First, for created_at columns, SQLBoiler can add automatic timestamps, so nothing to do on your end.

But to answer your question about re-using hooks. There is no easy way to do that.

You can consider extending the templates with the --templates flag to generate code for whatever new functionality you want to add, but that is not the most intuitive process.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by achempak-polymer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants