X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/5d373da96a7c2b38912cd925c456d719ea1a8933..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/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.+