我加入 ?include=topic.user 出现 N+1 ,是我哪里出现问题呢?
?include=topic 时, sql 没有 N+1
?include=topic.user 时,出现大量 users表查询
所有 Model 对照 github 源码
推荐文章: