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)
| 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. |
no test coverage detected