6

redis 操作简单命令

 3 years ago
source link: http://quangelab.com/redis-tip/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
redis 操作简单命令 – ruquan.z – github技术博客,成长在于积累。

ruquan.z

github技术博客,成长在于积累。

Blog About

redis 操作简单命令

redis-cli -h 192.168.5.179 -p 6379 //连接数据库
keys * 查看所有key
type onekey 查看某个key数据类型
hkeys onekey 如果key为hash类型,可以列出所有filed
hvals onekey 如果key为hash类型,可以列出所有值
flushall 清空所有数据
hdel
del
set
get
hset
hget
Written on September 8, 2016

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK