public final class PostgresSupport extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> org.jooq.Field<T[]> |
arrayAgg(org.jooq.Field<T> field)
Applies the
array_agg aggregate function on a field,
resulting in the input values being concatenated into an array. |
static <T> org.jooq.Field<T[]> |
arrayAggNoNulls(org.jooq.Field<T> field)
Like
arrayAgg(org.jooq.Field<T>), but uses array_remove to eliminate
SQL NULL values from the result. |
static org.jooq.Field<String> |
stringAgg(org.jooq.Field<String> field,
String delimiter)
Joins a set of string values using the given delimiter.
|
@Support(value=POSTGRES) public static <T> org.jooq.Field<T[]> arrayAgg(org.jooq.Field<T> field)
array_agg aggregate function on a field,
resulting in the input values being concatenated into an array.@Support(value=POSTGRES) public static <T> org.jooq.Field<T[]> arrayAggNoNulls(org.jooq.Field<T> field)
arrayAgg(org.jooq.Field<T>), but uses array_remove to eliminate
SQL NULL values from the result.@Support(value=POSTGRES) public static org.jooq.Field<String> stringAgg(org.jooq.Field<String> field, String delimiter)
field - the field to be concatenateddelimiter - the separating delimiterField representing the joined stringCopyright © 2016. All rights reserved.