Skip to content

Commit

Permalink
Update exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/Query.kt
Browse files Browse the repository at this point in the history
Co-authored-by: Jocelyne <[email protected]>
  • Loading branch information
obabichevjb and joc-a authored Oct 15, 2024
1 parent 7a67160 commit 667fe1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ open class Query(override var set: FieldSet, where: Op<Boolean>?) : AbstractQuer
append("DISTINCT ")
}
distinctOn?.let { columns ->
columns.appendTo(prefix = "DISTINCT ON (", postfix = ")") { +"${it.table.tableName}.${it.name}" }
columns.appendTo(prefix = "DISTINCT ON (", postfix = ") ") { +"${it.table.tableName}.${it.name}" }
}
set.realFields.appendTo { +it }
}
Expand Down

0 comments on commit 667fe1d

Please sign in to comment.