Redis List Sugar icon

Redis List Sugar

Manage simple lists in Redis

Update Elements

AI-generated

Summary

Update matching elements in a Redis list by patching or replacing their fields.

Inputs

None.

Output shape

main

One item per execution, containing the result object.

Examples

Example 1: Patch fields of a specific item in a Redis list

Provide the list key (listId), a searchValue object matching the target item, an update mode of 'patch', and a value object with the fields to merge into the existing item. The node will locate the matching element, merge the new fields, and return the count of updated elements.

Discussion