Mapper + select distinct

51 views
Skip to first unread message

Richard Catto

unread,
Jul 17, 2017, 12:07:38 PM7/17/17
to Fat-Free Framework
It would be nice if the mapper could be told to load distinct rows of x column into it's array.

the $options array could have this:

'distinct' => 'column name'

that would be badass

ikkez

unread,
Jul 18, 2017, 7:52:49 AM7/18/17
to Fat-Free Framework
isn't "group by" doing the same already?

Richard Catto

unread,
Jul 18, 2017, 8:47:57 AM7/18/17
to Fat-Free Framework
totally different things. group by allows aggregating by groups. distinct removes all duplicates
Reply all
Reply to author
Forward
0 new messages