X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/924aa408b99837036b679bd3895f836af6bc763f..49128f0b9da725de992e427fa341a837bcc2991b:/doc/SetexCommand.html diff --git a/doc/SetexCommand.html b/doc/SetexCommand.html new file mode 100644 index 00000000..7c766d85 --- /dev/null +++ b/doc/SetexCommand.html @@ -0,0 +1,42 @@ + + + +
+ + + +The command is exactly equivalent to the following group of commands:
+SET _key_ _value_ +EXPIRE _key_ _time_ ++
The operation is atomic. An atomic SET+EXPIRE operation was already providedusing MULTI/EXEC, but SETEX is a faster alternative providedbecause this operation is very common when Redis is used as a Cache.+