summaryrefslogtreecommitdiffstats
path: root/src/commands/command-count.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/command-count.json')
-rw-r--r--src/commands/command-count.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/commands/command-count.json b/src/commands/command-count.json
new file mode 100644
index 0000000..7306767
--- /dev/null
+++ b/src/commands/command-count.json
@@ -0,0 +1,23 @@
+{
+ "COUNT": {
+ "summary": "Returns a count of commands.",
+ "complexity": "O(1)",
+ "group": "server",
+ "since": "2.8.13",
+ "arity": 2,
+ "container": "COMMAND",
+ "function": "commandCountCommand",
+ "command_flags": [
+ "LOADING",
+ "STALE",
+ "SENTINEL"
+ ],
+ "acl_categories": [
+ "CONNECTION"
+ ],
+ "reply_schema": {
+ "description": "Number of total commands in this Redis server.",
+ "type": "integer"
+ }
+ }
+}