The ARRAY_ALL_MATCH function. Check if all elements of an array match a given predicate. @param array The array to be checked. @param predicate The predicate that must be true for all array elements.
(T[] array, Function1<? super Field<T>, ? extends Condition> predicate)
| 24250 | * @param predicate The predicate that must be true for all array elements. |
| 24251 | */ |
| 24252 | @NotNull |
| 24253 | @Support({ CLICKHOUSE, DUCKDB, H2, HSQLDB, POSTGRES, TRINO, YUGABYTEDB }) |
| 24254 | public static <T> Condition arrayAllMatch(T[] array, Function1<? super Field<T>, ? extends Condition> predicate) { |
| 24255 | return new ArrayAllMatch<>(Tools.field(array), DSL.lambda(array, predicate)); |
| 24256 | } |
| 24257 | |
| 24258 | /** |
| 24259 | * The <code>ARRAY_ALL_MATCH</code> function. |