讨论数量: 13
![](https://cdn.learnku.com/uploads/avatars/24872_1538279168.jpg!/both/100x100)
$reply->topic 和 $reply->topic () 怎么区别使用?
![](https://cdn.learnku.com/uploads/avatars/17819_1500716452.jpeg!/both/100x100)
文章点赞?
![](https://cdn.learnku.com/uploads/avatars/17242_1533548246.jpg!/both/100x100)
Laravel API 教程 7.3 节话题回复列表,手动输入不存在的话题 ID 报错 ?
![](https://cdn.learnku.com/uploads/avatars/32513_1649848924.jpg!/both/100x100)
我加入 ?include=topic.user 出现 N+1 ,是我哪里出现问题呢?
![](https://cdn.learnku.com/uploads/avatars/12861_1600839581.jpg!/both/100x100)
查询条件是默认找主键的?
![](https://cdn.learnku.com/uploads/images/201801/03/1/wbpiaoMqhD.jpg)
L03 Laravel 教程 - 实战构架 API 服务器 在 7.3 回复列表中,不能进行嵌套关联返回信息
关于 include 机制 ?topic.user 能获得嵌套的 user。 ?user.topic 为什么不能获得嵌套的 topic
![](https://cdn.learnku.com/uploads/avatars/45535_1595574175.jpg!/both/100x100)
加入 include=user,并没有出现 user 的数据信息?
![](https://cdn.learnku.com/uploads/avatars/10771_1486346257.png!/both/100x100)
请问 transformer 多级嵌套,select *怎么处理?或者能控制关联的 transformer 的字段
![](https://cdn.learnku.com/uploads/avatars/67649_1596535221.jpeg!/both/100x100)
回复列表接口显示能否删除 有没有更好的方案
![](https://cdn.learnku.com/uploads/avatars/30389_1538986010.png!/both/100x100)
include=topic 之后,没有显示 meta 分页信息?
![](https://cdn.learnku.com/uploads/avatars/17265_1498706676.png!/both/100x100)
这个 includeUser 和模型关联是一样的嘛?
![](https://cdn.learnku.com/uploads/avatars/18586_1576214725.jpg!/both/100x100)
发布话题的用户数据 N+1 问题