Load multiple keys from Redis in one go.
redis.set("key1", "value1") redis.set("key2", "value2") assert redis.mget("key1", "key2") == ["value1", "value2"]
For billing purposes, this counts as a single command.
Multiple keys to load from Redis.
An array of values corresponding to the keys passed in. If a key doesn’t exist, the value will be None.
None
Was this page helpful?