Replies: 1 comment
-
Hi @edosssa, Yeah, it is expected behaviour. You'll need to include at least BusinessBranch.ID so that qrm knows how to group the result. var result struct {
ID int64 `sql:"primary_key" alias:"business_branch.id"`
ExternalMenus []External `alias:"external_menus"`
Menus []Dynamic `alias:"menus"`
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This seems odd to me. I would expect the first query to work properly without having to include the model.BusinessBranch struct. Is this expected behavior or am I doing something wrong @go-jet ?
Beta Was this translation helpful? Give feedback.
All reactions