---
title: "array should / or · RUAL Documentation"
description: "One or all queries from array provided should match array based."
canonical: https://docs.rual.nl/block-types/query/query_bool_custom_should
language: en
---

# array should / or

This block is part of the [`query`](https://docs.rual.nl/block-types/query) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

### Connection Type

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

One or all queries from array provided `should` match array based.

- match `number` Define how many queries provided need to match at minimum.

- array required `array`

- query `query`

A typical wiring for [array should / or](https://docs.rual.nl/block-types/query/query_bool_custom_should): [with values](https://docs.rual.nl/block-types/array/array_of_values) feeds the `added_array` pin; the `query` out pin feeds [cast to object](https://docs.rual.nl/block-types/query/query_convert_to_object).

![Studio canvas example for the array should / or block: typical wiring for array should / or.](https://docs.rual.nl/canvas-examples/query_bool_custom_should.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
