MCPcopy
hub / github.com/jOOQ/jOOQ / arrayAllMatch

Method arrayAllMatch

jOOQ/src/main/java/org/jooq/impl/DSL.java:24252–24256  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 2

fieldMethod · 0.95
lambdaMethod · 0.95

Tested by

no test coverage detected