X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/9f3c422c72d4cede717b5f61bb7bde5823db53f2..dc4be23ec895c6ec49afc75cd037cac230a21771:/doc/TtlCommand.html diff --git a/doc/TtlCommand.html b/doc/TtlCommand.html index 94b308c8..53db4ebf 100644 --- a/doc/TtlCommand.html +++ b/doc/TtlCommand.html @@ -16,7 +16,7 @@
-TtlCommand: Contents
  TTL _key_
    Return value
    See also +TtlCommand: Contents
  TTL _key_
    Return value

TtlCommand

@@ -26,9 +26,9 @@
-

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

See also

- + #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 +