Hi Lukas,
I have a JOOQ query on SQLIte which looks like this:
select(
PLAYERSTEAMS.PLAYERID,
TEAMSMATCHTYPES.MATCHTYPE,
groupConcatDistinct(
TEAMS.NAME).`as`("Teams")
).from(PLAYERSTEAMS)
....
The SQL this generates is:
select PlayersTeams.PlayerId,
TeamsMatchTypes.MatchType,
group_concat(distinct Teams.Name, ',') as Teams
from PlayersTeams
....
But this doesn't run against SQLite (at least on my version which is 3.45.3.0.
I *think* the SQL should be
select PlayersTeams.PlayerId,
TeamsMatchTypes.MatchType,
group_concat(distinct Teams.Name) as Teams
from PlayersTeams
as group_concat distinct in SQLIte can only use the default separator (I think).
This is the Kotlin DSL, Jooq version 3.19.7
-- Kevin Jones
KnowledgeSpike