What are the data types of key in Redis? (not value)

for example,
We all know that there are five data types of value:

  • String
  • list
  • hash
  • set
  • sorted set

so what are the data types of key in Redis?

Mar.15,2021

The key key of

Redis can only be a string.

you can refer to this document Redis .


key can only be a string. For more information, please see the redis official documentation.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea5f90-47b54.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea5f90-47b54.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?