blob: ae5f7751a76f612ee93c8996e8c55ddfdff36633 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
This command works exactly like `EXPIRE` but the time to live of the key is
specified in milliseconds instead of seconds.
@return
@integer-reply, specifically:
- `1` if the timeout was set.
- `0` if `key` does not exist.
@examples
```cli
SET mykey "Hello"
PEXPIRE mykey 1500
TTL mykey
PTTL mykey
```
|