()
| 61 | } |
| 62 | |
| 63 | func (c *groupClient) GetClient() *ent.Client { |
| 64 | return c.client |
| 65 | } |
| 66 | |
| 67 | func (c *groupClient) CountUsers(ctx context.Context, id int) (int, error) { |
| 68 | return c.client.Group.Query().Where(group.ID(id)).QueryUsers().Count(ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected