[Catalyst] List/Scalar Context with TT + DBIC

phaylon phaylon at dunkelheit.at
Wed May 31 19:13:27 CEST 2006


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.

hth, p




More information about the Catalyst mailing list