[Dbix-class] Using 'DISTINCT ON' clause in select statement

Mark Blythe list at markblythe.com
Sat Aug 19 00:54:27 CEST 2006


On 8/18/06, John Siracusa <siracusa at mindspring.com> wrote:

> > Sure, the columns you select must have unique values per group.  That
> > limitation used to be stated in the MySQL docs.
>
> Now if only that requirement could be enforced somehow...maybe by, oh, I
> don't know, the database software or something.

Agreed.  It would definitely be helpful if it'd throw an error in that case.



More information about the Dbix-class mailing list