[jOOQ/jOOQ#16308] Support parsing ORDER BY clause of STRING_AGG function

This commit is contained in:
Lukas Eder 2024-02-19 13:19:23 +01:00
parent cbb4d4976a
commit b3ca407278

View File

@ -12433,6 +12433,9 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
else
ordered = distinct ? listAggDistinct(field) : listAgg(field);
if (parseKeywordIf("ORDER BY"))
ordered.withinGroupOrderBy(parseList(',', c -> c.parseSortField()));
parse(')');
}
else