http://orientdb.com/docs/master/SQL-Delete-Edge.html

Deleting Edges from a Sub-query

Consider a situation where you have an edge with a Record ID of #11:0 that 
you want to delete. In attempting to do so, you run the following query:

orientdb> DELETE EDGE FROM (SELECT FROM #11:0)
(...)


Syntax

DELETE EDGE 
    ( <rid>
      |
      [<rid> (, <rid>)*] 
(...)


If I want to delete the Edge #11:0, I run 
DELETE EDGE #11:0


The documentation tells me to use
DELETE EDGE E WHERE @rid IN (SELECT FROM #11:0) 
instead


-- 

--- 
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.

Reply via email to