[Catalyst] Chained actions usage and DBIC performance

Nilson Santos Figueiredo Junior acid06 at gmail.com
Mon Oct 30 21:28:02 GMT 2006


On 10/30/06, John Napiorkowski <jjn1056 at yahoo.com> wrote:
> I do something very similar to what you are talking
> about but I don't issue a find until the endpoint.
> You can do search anywhere you do find to get
> resultsets.  That why you can drill down and keep
> adding conditions to the query down the chain.  I find
> this works pretty well, I only ever see a single
> dtabase call.

I've got some of these around my code, but I've always thought
$rs->single (or $rs->first) looked a little bit like a hack. But maybe
that's really the only viable solution.

Does everyone use chained actions like this?

-Nilson Santos F. Jr.



More information about the Catalyst mailing list