1
我有以下Entities
:Esqueleto數內選擇
Group
name Text
GroupUser
user UserId
group GroupId
,我願做這樣的查詢:
select g.* /* Everything from g */
, count(gu.id) groupUsersCount
from Group g
left outer join GroupUser gu on gu.groupId = g.id
group by g.id
可以將其與Esqueleto
做什麼?