Redis Server: CLIENT GETNAME
Description
Redis CLIENT GETNAME command is used to return the name of the current connection as set by CLIENT SETNAME. Since every new connection starts without an associated name, if no name was assigned a null bulk reply is returned.
Syntax:
Basic syntax of redis CLIENT GETNAME command is shown below:
CLIENT GETNAME
Available since
2.6.9.
Return Value
Bulk string reply: The connection name, or a null bulk reply if no name is set.
Return Value Type
String
Previous:
CLIENT LIST
Next:
CLIENT PAUSE
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics