But image one million entries. So I need a for loop in SQL. Looking for an 
id in Person and then doing this statement above. Is that possible?

Am Dienstag, 26. August 2014 23:33:41 UTC+2 schrieb odbuser:
>
> Alex is right.  Just replace personID and postID with actual values (and 
> use an appropriate link name).
>
> In your example:
>
> create edge hasPost from ( select from person where id = 1 ) to ( select 
> from post where id = 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