Use fields of object as params? #3042
-
Is this possible with mybatis?
I got query with a lot of params and want just pass dto rather then bunch o parameters. |
Beta Was this translation helpful? Give feedback.
Answered by
harawata
Dec 17, 2023
Replies: 1 comment
-
Of course. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Krzysztof-Lempicki
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Of course.
See this answer for how to reference parameters.