Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whereHasIn 关联嵌套问题. #5

Open
dalingmanong opened this issue Aug 31, 2020 · 1 comment
Open

whereHasIn 关联嵌套问题. #5

dalingmanong opened this issue Aug 31, 2020 · 1 comment

Comments

@dalingmanong
Copy link

whereHasIn('a.b')
image

实际的 .id 并非 模型中定义的 house_id 而用 whereHas
image
依然是按照 模型定义的 字段来查询的. 请大佬回复下.

@jqhph
Copy link
Owner

jqhph commented Dec 7, 2020

你用的是什么版本,更新到最新版本再试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants