Continuing the discussion from Delete - Mutations:
There are a lot of posts about deleting. The ones that I found and read deal with deleting through GraphQL, or JSON syntax, or some other client. What I want to do is delete an edge with the RDF triple syntax. S P O .
{
delete {
<0x2> <friend> <0x3> .
}
}
Is this correct to delete the edge friend
between uid 0x2
and 0x3
? There is no mention in this docs page concerning edges between nodes without the wildcard, which I don’t want in this case. I want to preserve the other existing friends. Not sure if I need to use an uid function here instead:
<0x2> <friend> uid("0x3") .
Or just use the uid as a string? All the other SPO
methods are for predicates and not edges.
<0x2> <friend> "0x3" .