(ctx context.Context, keyword string, condition map[string]interface{})
| 95 | } |
| 96 | |
| 97 | func (s *imlServiceGet[T, E]) Count(ctx context.Context, keyword string, condition map[string]interface{}) (int64, error) { |
| 98 | return s.store.Count(ctx, keyword, condition) |
| 99 | } |
| 100 | |
| 101 | func (s *imlServiceGet[T, E]) CountByGroup(ctx context.Context, keyword string, condition map[string]interface{}, groupBy string) (map[string]int64, error) { |
| 102 | return s.store.CountByGroup(ctx, keyword, condition, groupBy) |