Redis Lists - set redis list value (Effect) — SkRedis

Addon: SkRedis · Category: Effect · Since: 1.0.0

Syntax

set entry with index %number% in redis (list|array) %string% to %string%

Description

Sets a specific index in a Redis list to a new value. It will overwrite the value at the given index. NOTE: If the index does not already exist, it will fail.

Examples

set entry with index 2 in redis list "myList" to "myNewValue"

View source