summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/readwrite.md
blob: f31a1f91eb6f5f80beee604838b650775f84b1f5 (plain)
1
2
3
4
5
6
7
8
9
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