Using the ORM, I want to be able to load all articles that posted, in which a user has made a comment.
comments table
comment_id
user_id
article_id
etc....
Using ORM, I can access all articles posted by a user, but how would I be able to access all articles in which the user has commented on?
Thanks
Edit:
Another problem is, if a user comments on the same article twice, that article will show twice.. how do I change the group by clause of one object from within another?
Also, how do I change the order of one object from another?
Im using 2.3.4.