[Dbix-class] Lazy Columns

Ovid publiustemp-dbic at yahoo.com
Fri May 7 14:25:49 GMT 2010


--- On Fri, 7/5/10, Bill Moseley <moseley at hank.org> wrote:

From: Bill Moseley <moseley at hank.org>

> Still, I have wondered if DBIC should throw an exception if you try and 
> access a column that was not fetched from storage.

I think that would be better than forgetting to check if the column is loaded and getting a silent failure.  Still, that would be a backwards-incompatible change.

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://blogs.perl.org/users/ovid/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6





More information about the DBIx-Class mailing list