zadd

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.

zadd v13.0.5 Updated v13.0.7

add one member to a sorted set

In pins 4 + flow
  • flow
    flow
  • value required
    value

    value to add

  • score required
    number

    score number

  • insert only
    condition

    adds NX to the command options, indication it should only insert and not update existing members

  • increment
    condition

    adds INCR to the command options, indication it should increment the score to the existing member

Out pins 4 + flow
  • flow
    flow
  • result
    number

    Returns the number of items added or updated within the sorted set

  • success
    condition

    Returns true when the operation succeeded

  • error
    value
  • key v13.0.7
    value
redis zadd
zadd

A typical wiring for zadd: a function trigger starts the flow; value feeds the set pin; value feeds the value pin; number feeds the score pin; the flow out pin feeds debug.

Studio canvas example for the zadd block: typical wiring for zadd.

Version history

Introduced in v13.0.5.

Last modified 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 sorted sets Return to the group to view all blocks within this group