Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
redis.set("key1", "Hello") redis.rename("key1", "key2") assert redis.get("key1") is None assert redis.get("key2") == "Hello" # Renaming a nonexistent key throws an exception redis.rename("nonexistent", "key3")
Rename a key
True
Was this page helpful?