aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/readonly.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/readonly.json')
-rw-r--r--examples/redis-unstable/src/commands/readonly.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/readonly.json b/examples/redis-unstable/src/commands/readonly.json
new file mode 100644
index 0000000..253573c
--- /dev/null
+++ b/examples/redis-unstable/src/commands/readonly.json
@@ -0,0 +1,21 @@
1{
2 "READONLY": {
3 "summary": "Enables read-only queries for a connection to a Redis Cluster replica node.",
4 "complexity": "O(1)",
5 "group": "cluster",
6 "since": "3.0.0",
7 "arity": 1,
8 "function": "readonlyCommand",
9 "command_flags": [
10 "FAST",
11 "LOADING",
12 "STALE"
13 ],
14 "acl_categories": [
15 "CONNECTION"
16 ],
17 "reply_schema": {
18 "const": "OK"
19 }
20 }
21}