Hello, it's possible to do a Select Distinct ON(field), since query builder->distinct() accept only null or bool,
I need to use it to avoid user GroupBy Grouping error: 7 ERROR: column "field" must appear in the GROUP BY clause or be used in an aggregate function
Thanks
This is for Last Phalcon and Postgresql 10