Skip to content

Allow distinct_on to be able to handle multiple fields #1116

@russ

Description

@russ

Right now the distinct_on call only allows for a single column to be defined. We had an issue in our project today that caused us to have to go well out of our way to be able to get the data we wanted. If distinct_on supported the multiple columns, it would have been a very quick change.

https://www.postgresql.org/docs/current/sql-select.html#SQL-DISTINCT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions