Is there a way to create an API rule that only allows the user to create a record if there isn't already one with the same combination of values. I want it to be possible to have a record with the values "a" and "b" and also one with the values "a" and "c" but not another one with the values "a" and "b".
I tried to do something like
NOT IN (SELECT ... FROM table WHERE value_1="a")