Description
SQLDelight Version
2.0.2
SQLDelight Dialect
postgresql
Describe the Bug
I used to be able to write syntax like SELECT DISTINCT col1, col2 FROM ...
but since the introduction of DISTINCT ON
I can only write SELECT DISTINCT ON (col1, col2) col1, col2 FROM ...
.
I would prefer to keep both syntaxes to not break migrations that were written before the DISTINCT ON
syntax was introduced.
This is a followup from #4584 (comment)
Stacktrace
compile errors from the plugin of the form:
`ON expected, got 'col1'`
Metadata
Metadata
Assignees
Labels
No labels