[Dbix-class] columns and prefetch and columns => undef.
Patrick Meidl
patrick at pantheon.at
Tue Jun 19 07:13:12 GMT 2012
On Mon, Jun 18 2012, Bill Moseley <moseley at hank.org> wrote:
> The "columns<http://search.cpan.org/~arodland/DBIx-Class-0.08196/lib/DBIx/Class/ResultSet.pm#columns>"
> attribute does not document what to do if set to undefined. What I've been
> using it for in the past was to "reset" the column selection but to all
> columns.
[...]
> What is the correct behavior, and how can I achieve the the old behavior of
> "columns => undef"?
just a shot in the dark, but have you tried calling $rs->clear_cache
before doing the second search?
patrick
--
Patrick Meidl ........................ patrick at pantheon.at
Vienna, Austria ...................... http://gplus.to/pmeidl
More information about the DBIx-Class
mailing list