Hi, everyone:
I create two classes,
create class person extends V
create class friendship extends E
create property friendship.out link person
create index friendship.in_out on friendship (in,out) unique
I can get the friends of one person with this sql:
select expand(out('friendship')) from person where id='0001'
if i give a id list, with sql
select expand(out('friendship')) from person where id in ['0001','0002',...,'000n']
I get the a list of OrientRecord, from the result, I can not know which record is get from '0001',
how can i get a query result like :
0001 OrientRecord
0001 OrientRecord
0002 OrientRecord
0002 OrientRecord
0003 OrientRecord
or like this
[[OrientRecord, OrientRecord],[OrientRecord, OrientRecord],[OrientRecord]]
thanks
zhanbingliu