Join Discord
Powered by
can you give a code example of a
# spicedb
y
yetitwo
08/24/2024, 1:26 AM
can you give a code example of a succeeding operation and a failing operation? that behavior surprises me
c
Chris Morin
08/26/2024, 7:06 PM
I didn't run anything. I was basing what should happen based on what would happen if they were separate
Write
calls.
y
yetitwo
08/26/2024, 7:32 PM
ah mmk. what
@Joey
was saying applies, then. if you have the same relation declared multiple times in a
Write
call it will error.
j
Joey
08/26/2024, 7:33 PM
separate Write calls will transactionally commit
Joey
08/26/2024, 7:33 PM
so whichever commit firsts, wins
2
Views
Previous
Next