[dev] Horde_Rdo - DISTINCT query

Luis Felipe Marzagao/Andamentos lfbm.andamentos at gmail.com
Fri Sep 16 01:19:09 UTC 2011


Hello:

Is this the recommended way of running a SELECT DISTINCT query with 
Horde Rdo?

$mapper = new OrderMapper();

$query = new Horde_Rdo_Query($mapper);
$query->setFields('DISTINCT client_id');

$mapper->find($query);

Will it work on different databases?

Thanks a lot.
Luis Felipe


More information about the dev mailing list