Does it support field name transform before response to client? #823
Answered
by
collerek
RomanMIzulin
asked this question in
Q&A
-
For example, database model has |
Beta Was this translation helpful? Give feedback.
Answered by
collerek
Sep 9, 2022
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RomanMIzulin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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