[Catalyst] Support distinct in search() and search_like()

Bill Moseley moseley at hank.org
Mon Nov 7 18:40:13 CET 2005


On Mon, Nov 07, 2005 at 04:56:03PM +0000, Pedro Melo wrote:
> Hi,
> 
> I needed Class::DBI::Sweet search() to use SELECT DISTINCT in one 
> project I'm working on.

In trunk there's an option to pass in the name of the sql method to
use instead of the default "Join_Retrieve".  With this you can define
your custom selects in your base class (or in one of your table's
classes) and tell Sweet to use that instead.


-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list