[Catalyst] List/Scalar Context with TT + DBIC

Aran Deltac aran at arandeltac.com
Thu Jun 1 17:17:51 CEST 2006


On 5/31/06, phaylon <phaylon at dunkelheit.at> wrote:
> Mark Blythe said:
> > How can I force scalar context from TT in order to get a DBIC
> > ResultSet object back from search() rather than a list of rows?  For
> > instance:
>
> IIRC there'll be a search_rs method (have a look at the ResultSet docs of
> the latest dev release of DBIC) that always returns a result set.

Phaylon is right - I wrote the search_rs() method for exactly the
problem that was originally expressed in this thread.  Check it out.

Aran

> hth, p
>
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>



More information about the Catalyst mailing list