String

MSET

Set multiple keys in one go.

For billing purposes, this counts as a single command.

Arguments

Dict[str, Any]required

An object where the keys are the keys to set, and the values are the values to set.

Response

boolrequired

True if the operation succeeded.

Example
redis.mset({  "key1": "value1",  "key2": "value2"})
Loading search…