-
Notifications
You must be signed in to change notification settings - Fork 173
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
find在无条件查询下返回NULL的问题 #529
Comments
如果没有任何的查询条件 并且也没有调用order方法的话 ,find查询不会返回任何结果。 |
|
可以增加条件 |
@big-dream 学到了,但是还是希望TP能是一个优雅的框架 😀 ,其实即使不传条件,模型本身还附加了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
有数据,模型或者Db方式都已反复测试,生成SQL语句查看没有问题,在mysql工具中可正常查询到数据,请查证。
版本如下:
暂时改为如下方式了 😅
The text was updated successfully, but these errors were encountered: