Try 
RETURN AFTER
clause and check the @version

On Thursday, May 14, 2015 at 12:29:24 AM UTC-7, Snigdha Batra wrote:
>
> Is there a way to know whether UPDATE UPSERT created the record or updated 
> it?
> We have a use case that needs separate operations on create and match - 
> something like Neo4j's Merge - ON CREATE & ON MATCH.
> How can we do such a thing in Orientdb?
>

-- 

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