junit87.
06/04/2024, 12:23 PMvroldanbet
06/04/2024, 12:36 PMDeleteRelationships
, which will tell you in the response if there are any more relationships to delete when you specify a limit.
Othewise you could check after the transaction takes place: WriteRelationships
will give you a zedtoken, and so you could then issue ReadRelationships
at the specified token, which would give you the state of the system when the write took place.junit87.
06/04/2024, 12:46 PMjunit87.
06/04/2024, 12:48 PMjunit87.
06/04/2024, 12:49 PMjunit87.
06/04/2024, 1:08 PMvroldanbet
06/04/2024, 1:17 PMWriteRelationships
that has a precondition "this supervisor must exist before proceeding".
If the precondition fails, then you know some other transaction deleted a supervisor, so all you have to do is retry again.junit87.
06/04/2024, 2:06 PM