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闭包中不能再whereHasIn #4

Open
LuMitchell opened this issue Aug 25, 2020 · 2 comments
Open

whereHasIn闭包中不能再whereHasIn #4

LuMitchell opened this issue Aug 25, 2020 · 2 comments

Comments

@LuMitchell
Copy link

image

我一开始使用的whereHas闭包里面也是whereHas,数据正常。
今天替换了所有的whereHas为whereHasIn,发现在闭包里面用whereHasIn的结果是错误的(空)。

把闭包中的whereHasIn换成whereHas后正常了(如上图)。

@jqhph jqhph added the enhancement New feature or request label Dec 7, 2020
@jqhph
Copy link
Owner

jqhph commented Dec 7, 2020

好的,后续会进行优化

@jqhph jqhph removed the enhancement New feature or request label Jan 18, 2021
@jqhph
Copy link
Owner

jqhph commented Jan 18, 2021

可否贴一下模型关联关系定义的相关代码,我试了下这个功能正常

Repository owner deleted a comment from biiiiiigmonster Jan 18, 2021
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