定位问题
最近在使用 Laravel Relationship 查询关联模型时遇到了如下错误:
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'echo_dev.domain_links.domain_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_