mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-19 21:00:53 +08:00
fixed listagg
This commit is contained in:
parent
0b4c69b859
commit
feae943dd8
@ -665,10 +665,11 @@ public final class SQLExpressions {
|
||||
* @param delimiter delimiter
|
||||
* @return listagg(expr, delimiter)
|
||||
*/
|
||||
public static WithinGroup<Object> listagg(Expression<?> expr, String delimiter) {
|
||||
return new WithinGroup<Object>(Object.class, SQLOps.LISTAGG, expr, ConstantImpl.create(delimiter));
|
||||
public static WithinGroup<String> listagg(Expression<?> expr, String delimiter) {
|
||||
return new WithinGroup<String>(String.class, SQLOps.LISTAGG, expr, ConstantImpl.create(delimiter));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* NTH_VALUE returns the expr value of the nth row in the window defined by the analytic clause.
|
||||
* The returned value has the data type of the expr.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user