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

Struct AggLogicalOrAggregator

internal/routing/aggregator.go:550–554  ·  view source on GitHub ↗

AggLogicalOrAggregator performs logical OR on boolean values.

Source from the content-addressed store, hash-verified

548
549// AggLogicalOrAggregator performs logical OR on boolean values.
550type AggLogicalOrAggregator struct {
551 err atomic.Value
552 res atomic.Bool
553 hasResult atomic.Bool
554}
555
556func (a *AggLogicalOrAggregator) Add(result interface{}, err error) error {
557 if err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected