[Dbix-class] 0.05005 on its way to CPAN
Matt S Trout
dbix-class at trout.me.uk
Tue Feb 14 13:25:01 CET 2006
On Tue, Feb 14, 2006 at 09:15:04AM +0000, Michael Gray wrote:
> On Tue, 14 Feb 2006, Zbigniew Lukasiak wrote:
>
> > There is also a fix for the bug reported at:
> > http://lists.rawmode.org/pipermail/dbix-class/2006-February/000733.html
>
> Thanks!
>
> Can I just confirm that it looks as if that fixes the erroneous repeated
> attempts to fetch column info, but it does not address the upper-case /
> lower-case column names issue?
Right - because I'm still not sure any idea I've come up with will be a
truly general solution, and nobody's suggested anything better :)
Lower-casing everything might in theory work; if memory serves it's what
Class::DBI does - but ... hmm, hang on.
What if we simply assigned the column info return to a column of the exact
same name if available, or one that matches /^${name}$/i if not? Can anybody
see a downside to that?
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Dbix-class
mailing list