MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / CountMapByProvider

Method CountMapByProvider

service/ai-model/iml.go:22–24  ·  view source on GitHub ↗
(ctx context.Context, conditions map[string]interface{})

Source from the content-addressed store, hash-verified

20}
21
22func (i *imlProviderModelService) CountMapByProvider(ctx context.Context, conditions map[string]interface{}) (map[string]int64, error) {
23 return i.store.CountByGroup(ctx, "", conditions, "provider")
24}
25
26func (i *imlProviderModelService) Save(ctx context.Context, id string, model *Model) error {
27 userId := utils.UserId(ctx)

Callers

nothing calls this directly

Calls 1

CountByGroupMethod · 0.45

Tested by

no test coverage detected