Inner joining and left joining the same table (aliased) causes the return type to be never
I'm getting a weird issue where if I make two table aliases for the same table and then inner join one while left joining the other, the return type of my query ends up being
Unfortunately the type of data becomes:
I've reduced the Company table to the smallest it could possibly be but it makes absolutely no difference:
Interestingly, if both joins to the
What am I missing here?
never[].Unfortunately the type of data becomes:
I've reduced the Company table to the smallest it could possibly be but it makes absolutely no difference:
Interestingly, if both joins to the
Company table are left joins or if both joins are inner joins, it works fine, but that's not my intended behavior.What am I missing here?