Is there a way to upsert(create if not exist, otherwise update) an edge? I tried something like:
update MyEdgeClass set myField=true, out=#12:0, in=#13:0 upsert where out=#12:0 and in=#13:0 But I'm guessing this command is only for Documents and not the Graph, because the vertices were not updated with the edge relation. Also it seems like there is not even an update edge as this issue is still open: https://github.com/orientechnologies/orientdb/issues/1114 So are my choices: a) use the DELETE/CREATE EDGE commands? b) also update the in_MyEdgeClass property of #13:0 and the out_MyEdgeClass property of #12:0? Thanks -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
