Method: Redis::Commands::Hashes#hkeys

Defined in:
lib/redis/commands/hashes.rb

#hkeys(key) ⇒ Array<String>

Get all the fields in a hash.

Parameters:

  • key (String)

Returns:

  • (Array<String>)


194
195
196
# File 'lib/redis/commands/hashes.rb', line 194

def hkeys(key)
  send_command([:hkeys, key])
end