Join Discord
Powered by
what's the recommended approach to enforcing a uni...
# spicedb
f
fierro9418
10/24/2023, 7:55 PM
what's the recommended approach to enforcing a uniqueness constraint on a relation? I.e given
Copy code
definition sometype { relation container: othertype }
how would I enforce that any
sometype
instance only has one
container
relation? use preconditions?
Previous
Next