X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/efc3408748061a08ec5ff18e392c30f31f5094a2..06e09c9b586d0e2c5d91dc596f871be56c6e0971:/doc/SetexCommand.html diff --git a/doc/SetexCommand.html b/doc/SetexCommand.html deleted file mode 100644 index 7c766d85..00000000 --- a/doc/SetexCommand.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - -
- - - -
-
- -SetexCommand: Contents
  SETEX _key_ _time_ _value_
    Return value -
- -

SetexCommand

- -
- -
- -
- #sidebar StringCommandsSidebar

SETEX _key_ _time_ _value_

-Time complexity: O(1)
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.
-

Return value

Status code reply -
- -
-
- - -