Closed pwFoo closed 3 years ago
This should already be taken care of actually. But it does it to a very low level as it will only do INNER JOIN
, therefore, if there are rows only attainable via LEFT
or RIGHT JOIN
- it won't work as expected.
Below is the function that takes care of the relations between tables. We could try to think of a way to implement logic for LEFT
+ RIGHT
joins.
Is it possible to handle relations for example to get a post with the authors details by relation
author_id -> user_id
?