summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/readwrite.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/readwrite.md')
-rw-r--r--iredis/data/commands/readwrite.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/iredis/data/commands/readwrite.md b/iredis/data/commands/readwrite.md
new file mode 100644
index 0000000..f31a1f9
--- /dev/null
+++ b/iredis/data/commands/readwrite.md
@@ -0,0 +1,10 @@
+Disables read queries for a connection to a Redis Cluster slave node.
+
+Read queries against a Redis Cluster slave node are disabled by default, but you
+can use the `READONLY` command to change this behavior on a per- connection
+basis. The `READWRITE` command resets the readonly mode flag of a connection
+back to readwrite.
+
+@return
+
+@simple-string-reply