summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/psetex.md
blob: 3e9988eff9104afe8e41496881c754a84c5aa4e3 (plain)
1
2
3
4
5
6
7
8
9
10
`PSETEX` works exactly like `SETEX` with the sole difference that the expire
time is specified in milliseconds instead of seconds.

@examples

```cli
PSETEX mykey 1000 "Hello"
PTTL mykey
GET mykey
```