首页 > 数据库 >redis中,如何查看某个key的类型?

redis中,如何查看某个key的类型?

时间:2022-12-08 10:55:06浏览次数:36  
标签:127.0 0.1 redis 34999 key 某个 type


命令

type <key>

 

 

示例:

127.0.0.1:34999> type ucf_mlruntime#gIdVerSet
hash                      # hash类型
127.0.0.1:34999> 
127.0.0.1:34999> type testkey
string                  # 字符串类型
127.0.0.1:34999> 

标签:127.0,0.1,redis,34999,key,某个,type
From: https://www.cnblogs.com/chuanzhang053/p/16965481.html

相关文章