summaryrefslogtreecommitdiff
path: root/redis/cluster.py
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-12-30 12:52:11 +0200
committerGitHub <noreply@github.com>2021-12-30 12:52:11 +0200
commitbc3dbb45d7236f96d614c33684a94f3e0fd9ac4a (patch)
tree5da61d39c34e3ad558be7c78c9f54c185084968e /redis/cluster.py
parentdeaaa536568e50b6ce958de0dd6306392e98f13e (diff)
downloadredis-py-bc3dbb45d7236f96d614c33684a94f3e0fd9ac4a.tar.gz
Documentation cleanup (#1841)
Diffstat (limited to 'redis/cluster.py')
-rw-r--r--redis/cluster.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/cluster.py b/redis/cluster.py
index 5707a9d..ec75274 100644
--- a/redis/cluster.py
+++ b/redis/cluster.py
@@ -564,6 +564,7 @@ class RedisCluster(RedisClusterCommands):
There are several ways to specify a database number. The first value
found will be used:
+
1. A ``db`` querystring option, e.g. redis://localhost?db=0
2. If using the redis:// or rediss:// schemes, the path argument
of the url, e.g. redis://localhost/0