summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/psetex.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/psetex.md')
-rw-r--r--iredis/data/commands/psetex.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/iredis/data/commands/psetex.md b/iredis/data/commands/psetex.md
new file mode 100644
index 0000000..3e9988e
--- /dev/null
+++ b/iredis/data/commands/psetex.md
@@ -0,0 +1,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
+```