Json

JSON.MSET

Sets multiple JSON values at multiple paths in multiple keys.

Arguments

key_path_value_tuplesbodyList[Tuple[string, string, TValue]]required

A list of tuples where each tuple contains a key, a path, and a value.

Response

truerequired

Returns true if the operation was successful.

Example
redis.json.mset([(key, "$.path", value), (key2, "$.path2", value2)])
Loading search…