(ctx context.Context, keyword string, condition map[string]interface{})
| 84 | } |
| 85 | |
| 86 | func (s *imlServiceGetSoftDelete[T, E]) Count(ctx context.Context, keyword string, condition map[string]interface{}) (int64, error) { |
| 87 | return s.store.Count(ctx, keyword, condition) |
| 88 | } |
| 89 | |
| 90 | func (s *imlServiceGetSoftDelete[T, E]) CountByGroup(ctx context.Context, keyword string, condition map[string]interface{}, groupBy string) (map[string]int64, error) { |
| 91 | return s.store.CountByGroup(ctx, keyword, condition, groupBy) |