After a lot of try/fails (real examples with db data would be much
appreciated) i got right results with
select from parent let $ch = (select from child where
parent=$parent.current) where $ch.size()=0
it is slow, but I expect that (there is index on child.parent)
I know it could be much faster if I introduce bi directional link
class Parent {
String id;
Set<child> children;
}
but that's exactly what I want to avoid. GraphDatabase solves it nicely,
but it lacks pojo to schema mapping. Is there a way to use edges with
ObjectDatabase ?
--
---
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.