redis_command
2022-10-24 14:18:57 7 举报
AI智能生成
登录查看完整内容
redis-add
作者其他创作
大纲/内容
redis_command
执行成功返回ok
set key value
save
执行成功返回1
del key
del
执行成功返回结果
get key
get
设置过期时间为 30 秒,执行成功返回1
expire key 30
过期时间
返回过期时间秒
ttl key
查看过期时间
string
span style=\
移除指定内容
lrem key 0 value 代表移除所有与value相等的值
lrang key 0 -1 获取所有
llen key 获取集合长度
list
0 条评论
回复 删除
下一页