I'm using orientdb 1.7.7

I have this update statement.  

update TaskStatus set status = 'Running' where status = 'Pending' limit 1 
RETURN AFTER @rid

I'm expecting the update to return a collection of rids

it is failing because it doesn't like the return after keyword

com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on 
parsing command at position #56: Invalid keyword 'RETURN' Command: select 
from TaskStatus WHERE status = 'Pending' limit 1 RETURN AFTER @rid 
----------------------------------------------------------------^

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.

Reply via email to