英 [taɪp] 美 [taɪp]
n.类型;铅字;(印刷或打印的)文字;于…类型的
vt.& vi.打字
vt.[医学]测定(血型);按类型把…归类;成为…的典型;[印刷]浇铸(铅字等)
第三人称单数: types 复数: types 现在分词: typing 过去式: typed 过去分词: typed
redis TYPE命令 语法
作用:返回 key 所储存的值的类型。
语法:TYPE key
可用版本:>= 1.0.0
时间复杂度:O(1)
返回:none (key不存在),string (字符串),list (列表),set (集合),zset (有序集),hash (哈希表)。
redis TYPE命令 示例
# 字符串 redis> SET weather "sunny" OK redis> TYPE weather string # 列表 redis> LPUSH book_list "programming in scala" (integer) 1 redis> TYPE book_list list # 集合 redis> SADD pat "dog" (integer) 1 redis> TYPE pat set
热门推荐
- CSS结构性伪类选择器—nth-of-type实现自定义导航菜单案例解析(代码实例)
- CSS3中结构性伪类选择器—:first-of-type实现名言标签(代码实例 )
- css选择器first-child与first-of-type之间有什么区别?
- CSS nth-of-type和nth-child的区别是什么?
- php如何设置content-type
- type-c是谁的专利