Hi Aris, It depends by your needs. Sometimes you want more decoupling between layers, so you could prefer to avoid passing edges to the front-end. But on the other side by passing edges means you could work on them directly, so it could be easier and faster.
Lvc@ On 9 March 2015 at 17:04, Aris Alexis <[email protected]> wrote: > I am wondering if for example an article has many authors and you have > edges to the vertex. > when I am building my POJO, I have two strategies: > > one is to get all edges and make them into a list so I can pass it to the > frontend OR > to have an embeddedlist as a kind of caching and update it when there is > change. > > does it make a difference speedwise or is it negligible? I want the edges > anyway because I will run analytics afterwards. > > thanks > > -- > > --- > 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. > -- --- 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.
