X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/ed9b544e10b84cd43348ddfab7068b610a5df1f7..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/doc/TypeCommand.html diff --git a/doc/TypeCommand.html b/doc/TypeCommand.html index 9311d324..45900422 100644 --- a/doc/TypeCommand.html +++ b/doc/TypeCommand.html @@ -26,13 +26,15 @@
-

TYPE _key_

+ #sidebar GenericCommandsSidebar

TYPE _key_

Time complexity: O(1)
Return the type of the value stored at key in form of astring. The type can be one of "none", "string", "list", "set"."none" is returned if the key does not exist.
-

Return value

Single line reply, specifically:

+

Return value

Status code reply, specifically:

 "none" if the key does not exist
 "string" if the key contains a String value
 "list" if the key contains a List value
 "set" if the key contains a Set value
+"zset" if the key contains a Sorted Set value
+"hash" if the key contains a Hash value
 

See also