remove

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.

remove v13.0.7

removes the first count occurrences of elements equal to element

In pins 2 + flow
  • flow
    flow
  • count required
    number

    number of elements to remove if found.

    Default 0

  • element required
    value

    matching element to remove

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

A typical wiring for remove: remove document feeds the flow pin; number feeds the count pin; value feeds the list pin; value feeds the element pin; the flow out pin feeds funnel; the result out pin feeds reply in JSON.

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

Commonly used with

In production blueprints, this block is most often wired together with:

  • remove document: feeds into this block. Removes the given document from the given storage.
  • number: feeds into this block. Generates a valid number from the filled custom value in the blueprint.
  • get fields: feeds into this block. Gets the selected fields from the given object.
  • funnel: this block feeds into it.
  • reply in JSON: this block feeds into it. Reply to any httpconnection as JSON body.

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