insert at index

This block is part of the redis group and was last modified in core v13.0.7.

Redis Key Selection Required

This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.

insert at index v13.0.7

Insert an element before or after another element in a list

In pins 3 + flow
  • flow
    flow
  • before or after
    value

    determines if the element should be added before or after the other given element.

    Default BEFORE

  • target required
    value
  • element required
    value

    the new element to be added

Out pins 4 + flow
  • flow
    flow
  • result
    number
  • success
    condition
  • error
    value
  • key v13.0.7
    value
redis linsert
linsert

A typical wiring for insert at index: a function trigger starts the flow; value feeds the list pin; value feeds the target pin; value feeds the element pin; the flow out pin feeds debug.

Studio canvas example for the insert at index block: typical wiring for insert at index.

Version history

Introduced in v13.0.7.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to redis Return to the main group to view all sub-groups Back to redis lists Return to the group to view all blocks within this group