ARRAY APPEND statement.
+ */
+@SuppressWarnings({ "rawtypes", "unchecked", "unused" })
+final class ArrayAppendARRAY PREPEND statement.
+ */
+@SuppressWarnings({ "rawtypes", "unchecked", "unused" })
+final class ArrayPrependARRAY_APPEND function.
+ *
+ * Append an element to an array.
+ *
+ * @param arg2 is wrapped as {@link #val(Object)}.
+ */
+ @NotNull
+ @Support({ POSTGRES, YUGABYTEDB })
+ public static
+ * Append an element to an array.
+ */
+ @NotNull
+ @Support({ POSTGRES, YUGABYTEDB })
+ public static
+ * Append an element to an array.
+ *
+ * @param arg2 is wrapped as {@link #val(Object)}.
+ */
+ @NotNull
+ @Support({ POSTGRES, YUGABYTEDB })
+ public static
+ * Append an element to an array.
+ */
+ @NotNull
+ @Support({ POSTGRES, YUGABYTEDB })
+ public static
+ * Prepend an element to an array.
+ *
+ * @param arg1 is wrapped as {@link #val(Object)}.
+ */
+ @NotNull
+ @Support({ POSTGRES, YUGABYTEDB })
+ public static
+ * Prepend an element to an array.
+ *
+ * @param arg1 is wrapped as {@link #val(Object)}.
+ */
+ @NotNull
+ @Support({ POSTGRES, YUGABYTEDB })
+ public static
+ * Prepend an element to an array.
+ */
+ @NotNull
+ @Support({ POSTGRES, YUGABYTEDB })
+ public static
+ * Prepend an element to an array.
+ */
+ @NotNull
+ @Support({ POSTGRES, YUGABYTEDB })
+ public static
diff --git a/jOOQ/src/main/java/org/jooq/impl/Names.java b/jOOQ/src/main/java/org/jooq/impl/Names.java
index 5b0506d6ac..6f7e17e586 100644
--- a/jOOQ/src/main/java/org/jooq/impl/Names.java
+++ b/jOOQ/src/main/java/org/jooq/impl/Names.java
@@ -345,9 +345,11 @@ final class Names {
static final Name N_ACOSH = systemName("acosh");
static final Name N_ACOTH = systemName("acoth");
static final Name N_ANY_VALUE = systemName("any_value");
+ static final Name N_ARRAY_APPEND = systemName("array_append");
static final Name N_ARRAY_CONCAT = systemName("array_concat");
static final Name N_ARRAY_GET = systemName("array_get");
static final Name N_ARRAY_OVERLAP = systemName("array_overlap");
+ static final Name N_ARRAY_PREPEND = systemName("array_prepend");
static final Name N_ARRAY_REMOVE = systemName("array_remove");
static final Name N_ASCII = systemName("ascii");
static final Name N_ASIN = systemName("asin");
diff --git a/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java b/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java
index a585364d57..4af93ee4c5 100644
--- a/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java
+++ b/jOOQ/src/main/java/org/jooq/impl/ParserImpl.java
@@ -79,8 +79,10 @@ import static org.jooq.impl.DSL.any;
import static org.jooq.impl.DSL.anyValue;
import static org.jooq.impl.DSL.arrayAgg;
import static org.jooq.impl.DSL.arrayAggDistinct;
+import static org.jooq.impl.DSL.arrayAppend;
import static org.jooq.impl.DSL.arrayConcat;
import static org.jooq.impl.DSL.arrayGet;
+import static org.jooq.impl.DSL.arrayPrepend;
import static org.jooq.impl.DSL.arrayRemove;
import static org.jooq.impl.DSL.ascii;
import static org.jooq.impl.DSL.asin;
@@ -8351,6 +8353,10 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
return parseFunctionArgs2((f1, f2) -> arrayConcat(f1, f2));
else if (parseFunctionNameIf("ARRAY_REMOVE"))
return parseFunctionArgs2((f1, f2) -> arrayRemove((Field
+ * Append an element to an array.
+ */
+ public /*sealed*/ interface ArrayAppend
+ * Prepend an element to an array.
+ */
+ public /*sealed*/ interface ArrayPrepend
diff --git a/jOOQ/src/main/java/org/jooq/util/postgres/PostgresDSL.java b/jOOQ/src/main/java/org/jooq/util/postgres/PostgresDSL.java
index 5a2c3d3325..93f50ae26b 100644
--- a/jOOQ/src/main/java/org/jooq/util/postgres/PostgresDSL.java
+++ b/jOOQ/src/main/java/org/jooq/util/postgres/PostgresDSL.java
@@ -155,10 +155,18 @@ public class PostgresDSL extends DSL {
/**
* The PostgreSQL
- * Example:
- * Example:
- * Example:
- * Example:
- * Example:
- * Example:
- * Example: ARRAY_APPEND function.
+ * ARRAY_APPEND function.
+ * ARRAY_APPEND function.
+ * ARRAY_PREPEND function.
+ * ARRAY_PREPEND function.
+ * ARRAY_PREPEND function.
+ * ARRAY_PREPEND function.
+ * ARRAY_OVERLAP function.
* ARRAY APPEND function.
+ * ARRAY PREPEND function.
+ * ARRAY OVERLAP function.
* array_append(anyarray, anyelement) function.
*
+ *
+ * @deprecated - 3.16.0 - [#14388] - Use
+ * {@link DSL#arrayAppend(Object[], Object)} instead.
*/
+ @Deprecated
@NotNull
@Support({ POSTGRES, YUGABYTEDB })
public static
+ * Example:
+ *
+ *
+ *
+ *
+ *
* {1, 2, 3} = array_append(ARRAY[1, 2], 3)
- * array_append(anyarray, anyelement) function.
*
+ *
+ * @deprecated - 3.16.0 - [#14388] - Use
+ * {@link DSL#arrayPrepend(Object[], Field)} instead.
*/
+ @Deprecated
@NotNull
@Support({ POSTGRES, YUGABYTEDB })
public static
+ * Example:
+ *
+ *
+ *
+ *
+ *
* {1, 2, 3} = array_append(ARRAY[1, 2], 3)
- * array_append(anyarray, anyelement) function.
*
+ *
+ * @deprecated - 3.16.0 - [#14388] - Use
+ * {@link DSL#arrayPrepend(Field, Object)} instead.
*/
+ @Deprecated
@NotNull
@Support({ POSTGRES, YUGABYTEDB })
public static
+ * Example:
+ *
+ *
+ *
+ *
+ *
* {1, 2, 3} = array_append(ARRAY[1, 2], 3)
- * array_append(anyarray, anyelement) function.
*
+ *
+ * @deprecated - 3.16.0 - [#14388] - Use
+ * {@link DSL#arrayPrepend(Field, Field)} instead.
*/
+ @Deprecated
@NotNull
@Support({ POSTGRES, YUGABYTEDB })
public static
+ * Example:
+ *
+ *
+ *
+ *
+ *
* {1, 2, 3} = array_append(ARRAY[1, 2], 3)
- * array_prepend(anyarray, anyelement) function.
*
+ *
+ * @deprecated - 3.16.0 - [#14388] - Use
+ * {@link DSL#arrayPrepend(Object, Object[])} instead.
*/
+ @Deprecated
@NotNull
@Support({ POSTGRES, YUGABYTEDB })
public static
+ * Example:
+ *
+ *
+ *
+ *
+ *
* {1, 2, 3} = array_prepend(1, ARRAY[2, 3])
- * array_prepend(anyarray, anyelement) function.
*
+ *
+ * @deprecated - 3.16.0 - [#14388] - Use
+ * {@link DSL#arrayPrepend(Field, Object[])} instead.
*/
+ @Deprecated
@NotNull
@Support({ POSTGRES, YUGABYTEDB })
public static
+ * Example:
+ *
+ *
+ *
+ *
+ *
* {1, 2, 3} = array_prepend(1, ARRAY[2, 3])
- *
+ *
+ * @deprecated - 3.16.0 - [#14388] - Use
+ * {@link DSL#arrayPrepend(Object, Field)} instead.
*/
+ @Deprecated
@NotNull
@Support({ POSTGRES, YUGABYTEDB })
public static
* {1, 2, 3} = array_prepend(1, ARRAY[2, 3])
* array_prepend(anyarray, anyelement) function.
*
+ *
+ * @deprecated - 3.16.0 - [#14388] - Use
+ * {@link DSL#arrayPrepend(Field, Field)} instead.
*/
+ @Deprecated
@NotNull
@Support({ POSTGRES, YUGABYTEDB })
public static
+ * Example:
+ *
+ *
+ *
+ *
+ *
* {1, 2, 3} = array_prepend(1, ARRAY[2, 3])
- *