Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
dbredis-python ドキュメントを読み、オンラインで検索しましたが、 のパラメータについて何も見つかりませんRedis()。何に使うの?
db
Redis()
デフォルトでは、redis には 16 のデータベースがあり、インデックスによってアドレス指定できます。これが目的です。
SELECTコマンドを参照してください。