Method: Redis#del

Defined in:
lib/redis.rb

#del(*keys) ⇒ Integer

Delete one or more keys.

Parameters:

  • keys (String, Array<String>)

Returns:

  • (Integer)

    number of keys that were deleted


555
556
557
558
559
# File 'lib/redis.rb', line 555

def del(*keys)
  synchronize do |client|
    client.call([:del] + keys)
  end
end