summaryrefslogtreecommitdiff
path: root/redis/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/commands.py')
-rw-r--r--redis/commands.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/redis/commands.py b/redis/commands.py
index 2d39f5d..7066bd8 100644
--- a/redis/commands.py
+++ b/redis/commands.py
@@ -2924,6 +2924,9 @@ class Commands:
"""
return self.execute_command('MODULE LIST')
+ def command_count(self):
+ return self.execute_command('COMMAND COUNT')
+
class Script:
"An executable Lua script object returned by ``register_script``"