diff options
Diffstat (limited to 'redis/client.py')
-rwxr-xr-x | redis/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py index 0984a7c..490b06d 100755 --- a/redis/client.py +++ b/redis/client.py @@ -832,6 +832,7 @@ class Redis(RedisModuleCommands, CoreCommands, SentinelCommands): 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 |