BitOpOne creates a new bitmap in which users are members of exactly one of the given bitmaps Introduced with Redis 8.2
(ctx context.Context, destKey string, keys ...string)
| 123 | // BitOpOne creates a new bitmap in which users are members of exactly one of the given bitmaps |
| 124 | // Introduced with Redis 8.2 |
| 125 | func (c cmdable) BitOpOne(ctx context.Context, destKey string, keys ...string) *IntCmd { |
| 126 | return c.bitOp(ctx, "one", destKey, keys...) |
| 127 | } |
| 128 | |
| 129 | // BitPos is an API before Redis version 7.0, cmd: bitpos key bit start end |
| 130 | // if you need the `byte | bit` parameter, please use `BitPosSpan`. |