module Redis::Commands::Bitmaps
def bitop(operation, destkey, *keys)
-
(Integer)
- the length of the string stored in `destkey`
Parameters:
-
keys
(String, Array
) -- one or more source keys to perform `operation` -
destkey
(String
) -- destination key -
operation
(String
) -- e.g. `and`, `or`, `xor`, `not`
def bitop(operation, destkey, *keys) keys.flatten!(1) command = [:bitop, operation, destkey] command.concat(keys) send_command(command) end