Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Prefer joins over subquery for
User#private_posts_for_user
.
The subquery here prevents the planner from optimizing the query. As such, we prefer joining against the requried tables instead.
- Loading branch information