We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[Feature request]
Is there a way to add custom tags for specific columns in tables for code generation? I could not find anything related to it in the documentation.
Similar to defining aliases in the sqlboiler.toml config, maybe we could provide it like below?
aliases
sqlboiler.toml
[tags.tables.users.columns] first_name = 'encrypt:"first_name"' last_name = 'encrypt:"last_name"' email = 'encrypt:"email"'
The text was updated successfully, but these errors were encountered:
You can add custom tags with the --tag flag (or corresponding config option).
--tag
You can also customize the struct tag case. https://github.com/volatiletech/sqlboiler?tab=readme-ov-file#custom-struct-tag-case
Would using these enable you achieve your use case?
Sorry, something went wrong.
No branches or pull requests
[Feature request]
Is there a way to add custom tags for specific columns in tables for code generation?
I could not find anything related to it in the documentation.
Similar to defining
aliases
in thesqlboiler.toml
config, maybe we could provide it like below?The text was updated successfully, but these errors were encountered: