MCPcopy
hub / github.com/redis/go-redis / AddWithKey

Method AddWithKey

internal/routing/aggregator.go:258–260  ·  view source on GitHub ↗
(key string, result interface{}, err error)

Source from the content-addressed store, hash-verified

256}
257
258func (a *AggSumAggregator) AddWithKey(key string, result interface{}, err error) error {
259 return a.Add(result, err)
260}
261
262func (a *AggSumAggregator) BatchSlice(results []AggregatorResErr) error {
263 var sum int64

Callers

nothing calls this directly

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected