I have a problem where I'm inserting vertexes and associated metadata 
vertexes. I don't know for sure that a metadata vertex exist.
I'm currently doing this with a SQL API command of:
let concept_13_53 = UPDATE concept CONTENT {"name": "political"} UPSERT 
RETURN AFTER WHERE name=\'political\';

Is this the most efficient way to select a vertex if it exists, or insert 
it if it doesn't exist, then select it? I don't actually want to update the 
record, so doing a write when not needed seems wasteful.

-- 

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