Hi, everyone:
I create two classes,
create class person extends V
create property person.id string
create property person.name string
create index person.id on person(id) unique
create class friendship extends E
create property friendship.in link person
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
--
---
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.