Can someone point me in the right direction to do a "user follows" kind of thing. I have 3 tables: users, user_follows, and a posts.
If I hydrate a user object, I can get an array of users id's they follow...and a post object knows which user posted it...but struggling to get posts for just the users that a given user follows.
Currently have this, which returns posts from everyone.
$posts = PostsQuery::create()
->orderByDate('desc')
->limit('12')
->find();
return $posts;
Need to do filterByXXX()...