Is it possible to construct an sql statement to delete only the first/last 
edge if multiple edges exist?

I am guessing the following deletes all out edges from a:

delete edge a_relates_b from #a:123

leaving an empty list. However this empty list causes issues in the c# API

The documentation suggestes I could do 

delete edge a_relates_b from #a:123 limit 1

but this gives 
com.orientechnologies.orient.core.sql.OCommandSQLParsingException: 
Error on parsing command at position #0: Class 'LIMIT' was not found

I would really like to do is something like...

delete first edge from #a:123 where edges.size() > 1

-- 

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