Can someone help me understand the logic behind the automaticaIIy created joins in automated query.
that is,the Iogic behind system creating "With" ,"With or Without" etc joins when we drag teh entities.
this is easy to validate in OutSystems, and I did.
Regards,
Daniel
Hi Remya,
in a 1 to many relationship where the foreign key attribute with mandatory property set to false, the join wil be With or without.
If the foreign key attribute is mandatory then the join will by Only with.
Daniël Kuhlmann wrote:
Hi DanieI,
My post was based on beIow question
As foriegn atrributes are created with defauIt mandatory vaIe as No.I suppose the answer needs to With or Without.Am I correct?
Hello Remya.
That's precisely that.
If the attribute is not mandatory, it is possible the entity is not matching so "With or Without". If the attribute is mandatory, it is "Only With" because they match for sure.
Nuno Reis wrote:
So you meant to say this is wrong.
and the actuaI answer is Option A: With or Without
Yes, if it is Mandatory=No it should be the first option.