webman groupBy()使用之后报错

$result = Db::table('kms_zan')->groupBy('openid')->get(); SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column '...

李天宇 发表与 2021-12-04 1489 浏览 3 回答

rororozorn

160
积分
0
获赞数
0
粉丝数
2022-06-13 加入
×
🔝