How to add composite unique condition #1946
Answered
by
JarrodMFlesch
felstormrage
asked this question in
Q&A
-
How can I add a composite unique condition on two fields (author, slug)
|
Beta Was this translation helpful? Give feedback.
Answered by
JarrodMFlesch
Jan 25, 2023
Replies: 1 comment
-
@rednithin you could make a third field that concatenates these two (with a hook), and mark that field as unique. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zubricks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rednithin you could make a third field that concatenates these two (with a hook), and mark that field as unique.