Hi,
if you want to get the i-th element try this code:
int i=5;
String query="select AdresList["+i+"] as item from Person";
Iterable<ODocument> result5=db.command(new
OSQLSynchQuery<ODocument>(query)).execute();
for(ODocument v:result5){
System.out.println(v.field("item"));
}
Regards,
Alessandro
--
---
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.