Hi, to read the last item you can use Iterable<ODocument> result=db.command(new OSQLSynchQuery<ODocument>("select last(AdresList) as last from Person")).execute(); for(ODocument v:result){ System.out.println(v.field("last")); }
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 orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.