Replies: 1 comment 1 reply
-
We have no annotation to make a column unique.
We think DDL scripts should manage constraints. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is currently no annotation to make a column unique, is there?
All I can find by searching the docs is
org.komapper.core.UniqueConstraintException
.Seems like the only way to handle this rn is to use
onDuplicateKeyIgnore()
Beta Was this translation helpful? Give feedback.
All reactions