Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80876

OQL Join without reference

$
0
0

I have a parent child self-association, let's say B (parent) <- A (child). For performance reasons, there is only one owner.

Now, in my OQL, I want to join some information of the siblings of a child. I use FROM A, JOIN B, which works perfectly.

However, I want to go from B to its children again. In SQL this should be no problem, since a join ON is based on a shared value between two rows in seperate tables. Mendix uses join based on references, which makes me dependent on the direction of the association. 

How can I go from the child to its siblings, without making the reference owner 'both'?


Viewing all articles
Browse latest Browse all 80876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>