redis > TTL foo (integer) –1 除了PERSIST命令之外,使用SET或GETSET命令为键赋值也会同时清除键的过期时间,例如: redis> EXPIRE foo 20 (integer) 1 redis> SET foo ...
確定! 回上一頁