pepegar_
10/29/2025, 9:15 AMWriteRelationships(
list(
WR(doc1:parent#oldparent, operation.delete),
WR(doc1:parent#newparent, operation.create)
),
preconditions(folder had old parent before)
)
~But it seems that operations are at the WriteRelationships level, not at each relationshipupdate... so this seems like a no go. Any idea?~
~I wouldn't like to have partial states committed to the db in this case.~
EDIT:
Turns out I read the API wrong, operation is part of each relationship update and I can do exactly what I was expecting. Sorry for the noise!pepegar_
10/29/2025, 9:31 AMpepegar_
10/29/2025, 9:47 AMJoey
10/29/2025, 6:08 PM