一对多关系如何维护 #913

Open
opened 2018-04-27 03:23:42 +00:00 by xiaojinwei · 1 comment
xiaojinwei commented 2018-04-27 03:23:42 +00:00 (Migrated from github.com)

那官网博客的例子,上面最后一个例子是查看每个人有多少数量的车,那如果我是想要查看每个人有多少辆车
type AccountUser struct {
Account xorm:"extends"
Car []Car xorm : "extends"
}
这种一对多的关系现在有解决方法吗???

那官网博客的例子,上面最后一个例子是查看每个人有多少数量的车,那如果我是想要查看每个人有多少辆车 type AccountUser struct { Account xorm:"extends" Car []Car xorm : "extends" } 这种一对多的关系现在有解决方法吗???

目前不支持

目前不支持
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#913
No description provided.