Hi,
I created this graph
<https://lh3.googleusercontent.com/-PRb3scAGtvE/V49XfHy-MUI/AAAAAAAAAOo/FLKi295YldsJL8jS-Fsd6gITtP0ftRikACLcB/s1600/image2.png>

<https://lh3.googleusercontent.com/--sbqXCsllso/V49Xj86wllI/AAAAAAAAAOs/eioPYFlQXRwilLZaDpB09XvRQW12eS9lACLcB/s1600/image3.png>


I used this function 

var g=orient.getGraph();
var b=g.command("sql","select out('store_has_billing') as my_out from store"
);
for(i=0;i<b.length;i++){
  var my_out=b[i].getProperty("my_out");
        var m=my_out.iterator();
  j=0;
  while(m.hasNext()){
  var bill = m.next();
              bill.setProperty("myId",++j);
  }
}


<https://lh3.googleusercontent.com/-ed8znEtZzcI/V49X0Q8O4zI/AAAAAAAAAOw/i_sZDCSR3FQ78FZS9odtSXlO1B4oCkU2gCLcB/s1600/image4.png>


Hope it helps.

-- 

--- 
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