X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/ed9b544e10b84cd43348ddfab7068b610a5df1f7..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/doc/TtlCommand.html diff --git a/doc/TtlCommand.html b/doc/TtlCommand.html new file mode 100644 index 00000000..53db4ebf --- /dev/null +++ b/doc/TtlCommand.html @@ -0,0 +1,38 @@ + + + + + + + +
+ + + +
+
+ +TtlCommand: Contents
  TTL _key_
    Return value +
+ +

TtlCommand

+ +
+ +
+ +
+ #sidebar GenericCommandsSidebar

TTL _key_

The TTL command returns the remaining time to live in seconds of a key that has an EXPIRE set. This introspection capability allows a Redis client to check how many seconds a given key will continue to be part of the dataset. If the Key does not exists or does not have an associated expire, -1 is returned.
+

Return value

Integer reply + +
+ +
+
+ + +