MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / arrayGet

Method arrayGet

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

The ARRAY_GET function. Get an array element at a given index (1 based). @param index is wrapped as DSL#val(Object).

(Field<T[]> array, int index)

Source from the content-addressed store, hash-verified

23691 * @param index is wrapped as {@link DSL#val(Object)}.
23692 */
23693 @NotNull
23694 @Support({ CLICKHOUSE, DUCKDB, H2, HSQLDB, POSTGRES, TRINO, YUGABYTEDB })
23695 public static <T> Field<T> arrayGet(Field<T[]> array, int index) {
23696 return new ArrayGet<>(array, Tools.field(index));
23697 }
23698
23699 /**
23700 * The <code>ARRAY_GET</code> function.

Callers 8

arrayTransformMethod · 0.80
acceptMethod · 0.80
parseUnaryOpsMethod · 0.80
parseTermMethod · 0.80
toJSONArrayOfUDTsMethod · 0.80
toXMLArrayOfUDTMethod · 0.80

Calls 1

fieldMethod · 0.95

Tested by

no test coverage detected