filter removed

This block is part of the array group and was last modified in core v13.0.8.

filter removed v13.0.8

Filters out all removed documents.

In pins 1
  • Array required
    array
Out pins 2
  • available
    array

    The documents that were not removed.

  • removed
    array

    The documents that were removed.

Splits documents into two outputs: items whose _meta.removed holds a positive timestamp (or a non-empty string) go to removed; everything else, including non-object items, goes to available. Nothing is dropped; the two outputs together contain every input item.

A typical wiring for filter removed: with values feeds the array pin; the available out pin feeds length.

Studio canvas example for the filter removed block: typical wiring for filter removed.

Version history

Introduced in v13.0.8.


Back to array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group