fields to select

This block is part of the query group and was last modified in core v12.1.1.

Fields Selection Required

This block relies on fields that you selected to perform its data actions. You must manually select the fields you want to use in your flow using the fields selector modal. To access the modal, click the white button on the block.

Connection Type

This block connects from a query type block. Make sure to connect this block to the appropriate left-hand side connection.

fields to select v12.1.1

Only return the selected fields in the search results (e.g. speed improvement)

In pins 1
  • include meta required v12.1.1
    condition

    Providing false will cause search querys to exclude meta data from their response.

    Default true

Out pins 1
  • query
    query

Emits the control fragment {"fields": [<selected fields>]}: returned documents contain only the block's selected fields, nothing else. "exclude_meta": true is added ONLY when the include_meta pin is exactly boolean false : an unwired pin or the string "false" keeps metadata included. The fragment is hoisted to the top level of the query when collected by a bool block.

A typical wiring for fields to select: false feeds the include_meta pin; the query out pin feeds search.

Studio canvas example for the fields to select block: typical wiring for fields to select.

Commonly used with

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

  • search: this block feeds into it. searches in the given storage based on a query.
  • false: feeds into this block. Gives the condition false hard-coded.
  • multiple: this block feeds into it.
  • true: feeds into this block. Gives the condition true hard-coded.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v12.1.1.


Back to query Return to the main group to view all sub-groups Back to query: misc. Return to the group to view all blocks within this group