I have read the redis-python document and searched online, I can not find anything about the db
parameter for Redis()
. What is it use for?
By default, redis has 16 databases, which can be addressed by their indexes. This is what it's for.
See SELECT command.