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

Method BitOpDiff1

bitmap_commands.go:113–115  ·  view source on GitHub ↗

BitOpDiff1 creates a new bitmap in which users are members of one or more of bitmaps Y1, Y2, … but not members of bitmap X Introduced with Redis 8.2

(ctx context.Context, destKey string, keys ...string)

Source from the content-addressed store, hash-verified

111// BitOpDiff1 creates a new bitmap in which users are members of one or more of bitmaps Y1, Y2, … but not members of bitmap X
112// Introduced with Redis 8.2
113func (c cmdable) BitOpDiff1(ctx context.Context, destKey string, keys ...string) *IntCmd {
114 return c.bitOp(ctx, "diff1", destKey, keys...)
115}
116
117// BitOpAndOr creates a new bitmap in which users are members of bitmap X and also members of one or more of bitmaps Y1, Y2, …
118// Introduced with Redis 8.2

Callers

nothing calls this directly

Calls 1

bitOpMethod · 0.95

Tested by

no test coverage detected