diff options
Diffstat (limited to 'src/commands/readonly.json')
-rw-r--r-- | src/commands/readonly.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/commands/readonly.json b/src/commands/readonly.json new file mode 100644 index 0000000..1bbc220 --- /dev/null +++ b/src/commands/readonly.json @@ -0,0 +1,18 @@ +{ + "READONLY": { + "summary": "Enables read queries for a connection to a cluster replica node", + "complexity": "O(1)", + "group": "cluster", + "since": "3.0.0", + "arity": 1, + "function": "readonlyCommand", + "command_flags": [ + "FAST", + "LOADING", + "STALE" + ], + "acl_categories": [ + "CONNECTION" + ] + } +} |