[Dbix-class] Excluding columns from a query

Nick Wellnhofer wellnhofer at aevum.de
Fri Feb 12 14:35:14 GMT 2010


On 12.02.2010 15:17, Rob Kinyon wrote:
> What is the *USE CASE* that is leading you to think that excluding
> columns from a ->search is a good idea?

It's simply an optimization. I have a table with a text column that can
contain tens of KB of data per row. I also have some queries that don't
need that column, so I'd like to avoid unnecessarily fetching all that
content from the DB.

Nick



More information about the DBIx-Class mailing list