diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index 8306fc3218..3dd92c0ef6 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -32810,6 +32810,72 @@ public class DSL { return new ListAgg(true, Tools.nullSafe(field), separator); } + /** + * Get the aggregated concatenation for a field. + * + * @see #groupConcat(Field) + */ + @NotNull + @Support({ CUBRID, DUCKDB, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, TRINO }) + public static OrderedAggregateFunction stringAgg(Field field) { + return listAgg(field); + } + + /** + * Get the aggregated concatenation for a field. + * + * @see #groupConcat(Field) + */ + @NotNull + @Support({ CUBRID, DUCKDB, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, TRINO }) + public static OrderedAggregateFunction stringAgg(Field field, String separator) { + return listAgg(field, separator); + } + + /** + * Get the aggregated concatenation for a field. + * + * @see #groupConcat(Field) + */ + @NotNull + @Support({ CUBRID, DUCKDB, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, TRINO }) + public static OrderedAggregateFunction stringAgg(Field field, Field separator) { + return listAgg(field, separator); + } + + /** + * Get the aggregated concatenation for a field. + * + * @see #groupConcatDistinct(Field) + */ + @NotNull + @Support({ CUBRID, DUCKDB, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE }) + public static OrderedAggregateFunction stringAggDistinct(Field field) { + return listAggDistinct(field); + } + + /** + * Get the aggregated concatenation for a field. + * + * @see #groupConcatDistinct(Field) + */ + @NotNull + @Support({ CUBRID, DUCKDB, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + public static OrderedAggregateFunction stringAggDistinct(Field field, String separator) { + return listAggDistinct(field, separator); + } + + /** + * Get the aggregated concatenation for a field. + * + * @see #groupConcatDistinct(Field) + */ + @NotNull + @Support({ CUBRID, DUCKDB, H2, HSQLDB, MARIADB, MYSQL, POSTGRES }) + public static OrderedAggregateFunction stringAggDistinct(Field field, Field separator) { + return listAggDistinct(field, separator); + } + /** * Get the aggregated concatenation for a field. *