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

Struct AggLogicalAndAggregator

internal/routing/aggregator.go:467–471  ·  view source on GitHub ↗

AggLogicalAndAggregator performs logical AND on boolean values.

Source from the content-addressed store, hash-verified

465
466// AggLogicalAndAggregator performs logical AND on boolean values.
467type AggLogicalAndAggregator struct {
468 err atomic.Value
469 res atomic.Bool
470 hasResult atomic.Bool
471}
472
473func (a *AggLogicalAndAggregator) Add(result interface{}, err error) error {
474 if err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected