Tuto's Laravel CornerTLC
Tuto's Laravel Corner2y ago
3 replies
RT2023

group by tenant

Hi Tuto, I need to show on my table a group by tenant. this group will be applied for the userResource. If i have one tenant assigned to each user the group works well. However if an user belongs to two or more tenants , i get an error. SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row. Any help is appreciated. thanks
Was this page helpful?