summaryrefslogtreecommitdiff
path: root/redis/commands/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/commands/core.py')
-rw-r--r--redis/commands/core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/redis/commands/core.py b/redis/commands/core.py
index 67f1bfa..516e7d9 100644
--- a/redis/commands/core.py
+++ b/redis/commands/core.py
@@ -3315,6 +3315,9 @@ class CoreCommands:
def command_count(self):
return self.execute_command('COMMAND COUNT')
+ def command(self):
+ return self.execute_command('COMMAND')
+
class Script:
"An executable Lua script object returned by ``register_script``"