i do exactly what you just mentioned with $rs->first

On 10/30/06, Nilson Santos Figueiredo Junior <[EMAIL PROTECTED]> wrote:
On 10/30/06, John Napiorkowski <[EMAIL PROTECTED]> 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.

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to