Dear all - first post here, pardon my ignorance if it’s already been covered somewhere.
In earlier versions of dgraph, I was able to use the following delete syntax (using the golang GRPC client) when I needed to update a relationship to point to a different entity.
In the example below, I changed the household a person belongs to by first deleting the present edge, then assigning a new UID value to the “person.household” edge.
deleteCursor = newPersonNode.Edge("person.household")
_ = deleteCursor.Delete()
_ = dgraphReq.Delete(deleteCursor)
Which translates to the following in RDF
<0x3669> <person.household> <0x366a> .
Is there an equivalent way of accomplishing the same in the newer JSON-based dgraph golang API? Based on the DeleteNode tutorial, it seems that the mu.DeleteJson does the deletion based on the UID of the deleted node, however it’s not clear to me that the same could be accomplished for deleting an edge/relationship.