Skip to content

Does it support field name transform before response to client? #823

Answered by collerek
RomanMIzulin asked this question in Q&A
Discussion options

You must be logged in to vote

Yes it does, you can set different model field name and different database name with name: https://collerek.github.io/ormar/fields/common-parameters/#name
You can also utilize property fields: https://collerek.github.io/ormar/models/#property-fields

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RomanMIzulin
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