Hi Oles,
I think I understood the problem: the DELETE EDGE is trying to remove all
the edges that start FROM the result of your query (that FROM is being
interpreted as the FROM/TO of the edge).
You can try a work-around like
DELETE EDGE YourEdgeClass where @rid in (SELECT outE("MyEdgeClass").@rid
FROM MyVertexClass)
Luigi
2015-05-19 9:42 GMT+02:00 Oles Berezhetsky <[email protected]>:
> Hi Oles,
>>
>> how do you select them? With a query? If it's the case, you can just use
>> a DELETE EDGE around it, eg.
>>
>> DELETE EDGE FROM (SELECT outE("MyEdgeClass") FROM MyVertexClass)
>>
>> Luigi
>>
>>
>> Hi Luigi,
>
>
> <https://lh3.googleusercontent.com/-d0Ae9m-OK-8/VVroVww2w-I/AAAAAAAAAI4/GQD8KaS3ED4/s1600/bad_deleted.png>
>
> it's not working. Edges is still alive
>
> --
>
> ---
> 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.
>
--
---
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.