zrange

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.

zrange v13.0.5 Updated v13.0.7

retrieve items from the sorted sets

In pins 3 + flow
  • flow
    flow
  • start index required
    number

    start position within range (inclusive)

  • stop index required
    number

    stop position within range (inclusive)

  • include scores
    condition

    adds WIITHSCORES to the command options, indication to include the scores

Out pins 4 + flow
  • flow
    flow
  • results
    array

    Returns the sorted sets values

  • success
    condition

    Returns true when the operation succeeded

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

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

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

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