Sorted Sets Zrevrangebyscore
Hashes Hget
Hyperloglog Pfcount
Strings Msetnx
Redis Partitioning
Connection Select
Redis Geo
Lists Lset
Server Config Resetstat
Sets Sismember
Lists Brpop
Strings Getbit
Keys Randomkey
Strings Setex
Server Client Getname
Pub Sub Punsubscribe
Strings Incrby
Sorted Sets Zincrby
Keys Dump
Sets Spop
Strings Get
Strings Psetex
Lists Lrange
Redis Sets
Server Command Getkeys
Strings Decr
Strings Incr
Redis Transactions
Lists Lpop
Sorted Sets Zrank
Keys Pexpireat
Scripting Script Load
Sorted Sets Zunionstore
Scripting Script Exists
Hashes Hexists
Keys Expireat
Sets Sinterstore
Keys Del
Keys Move
Sorted Sets Zscore
Lists Llen
Server Info
Server Debug Object
Sorted Sets Zremrangebylex
Server Config Rewrite
Sets Sdiffstore
Pub Sub Subscribe
Redis Keys
Server Client Pause
Strings Strlen
Redis Backup
Keys Ttl
Sorted Sets Zrange
Redis Strings
Sets Sdiff
Hashes Hmget
Sorted Sets Zcard
Connection Quit
Strings Setrange
Server Flushall
Keys Renamenx
Server Config Set
Connection Ping
Lists Brpoplpush
Sets Sinter
Server Flushdb
Redis Intro
Server Client List
Keys Type
Server Sync
Keys Pexpire
Sorted Sets Zremrangebyscore
Keys Rename
Java Environment Setup
Transactions Discard
Redis Lists
Server Client Setname
Server Role
Hashes Hsetnx
Redis Sorted Sets
Keys Persist
Transactions Watch
Lists Ltrim
Server Client Kill
Strings Getset
Sets Smove
Lists Lpushx
Sorted Sets Zscan
Connection Echo
Strings Mget
Sorted Sets Zlexcount
Redis Hyperloglog
Sorted Sets Zadd
Sets Srandmember
Redis Pipelining
Transactions Multi
Hashes Hdel
Hashes Hkeys
Pub Sub Psubscribe
Keys Exists
Sorted Sets Zremrangebyrank
Sorted Sets Zrevrange
Lists Rpushx
Server Debug Segfault
Hashes Hvals
Server Bgrewriteaof
Sets Sscan
Strings Mset
Keys Pttl
Connection Auth
Strings Incrbyfloat
Keys Expire
Sorted Sets Zrangebylex
Hashes Hmset
Sets Scard
Sorted Sets Zrevrank
Strings Decrby
Server Lastsave
Server Cluster Slots
Redis Commands
Redis Install
Server Save
Server Config Get
Redis Hashes
Keys Keys
Hashes Hincrbyfloat
Redis Data Types
Strings Setbit
Redis Benchmarks
Hyperloglog Pfmerge
Sorted Sets Zrem
Transactions Exec
Server Command Info
Pub Sub Unsubscribe
Transactions Unwatch
Strings Getrange
Hashes Hincrby
Sorted Sets Zrangebyscore
Redis Pub Sub
Sets Smembers
Lists Lindex
Scripting Eval
Sets Sadd
Hyperloglog Pfadd
Lists Lrem
Redis Tutorial
Server Slowlog
Lists Blpop
Pub Sub Publish
Lists Linsert
Scripting Evalsha
Sets Sunionstore
Redis Conf
Server Command Count
Sorted Sets Zcount
Server Monitor
Sorted Sets Zinterstore
Server Command
Server Dbsize
Hashes Hlen
Scripting Script Flush
Server Slaveof
Keys Scan
Redis Connection
Hashes Hset
Redis Server
Redis Scripting
Lists Rpop
Redis Client Connection
Scripting Script Kill
Redis Security
Server Time
Strings Append
Redis Java
Server Showlog
Server Shutdown
Lists Rpush
Lists Rpoplpush
Lists Lpush
Server Bgsave
Sets Srem
Strings Setnx
Redis Stream
Hashes Hscan
Redis Php
Pub Sub Pubsub
Hashes Hgetall
Strings Set
Sets Sunion
Redis Hget Command
The Redis Hget command is used to return the value of a specified field in a hash table.
Syntax
The basic syntax of the redis Hget command is as follows:
redis 127.0.0.1:6379> HGET KEY_NAME FIELD_NAME
Available Versions
= 2.0.0
Return Value
Returns the value of the given field. If the field or key does not exist, it returns nil.
Example
> HSET site redis redis.com
1
> HGET site redis
"redis.com"
> HGET site mysql
(nil)