Redis常用命令介绍

1.Redis常用数据结构 2.Redis常用命令 命令 说明 set key value 针对String结构,添加一个key和value get key 针对String结构,通过key获取value setex key second value 针对String结构,添加一个key和value的同时,设置一个生存时间,单位是秒 expire key second 针对key,设置key的生存
相关文章
相关标签/搜索