http://qs321.pair.com?node_id=569356


in reply to Re: DBIx::Class::Schema::Loader prob
in thread DBIx::Class::Schema::Loader prob

What the debugger did reveal is that the Loader seems to be changing the case of my column names. So while the following worked previously:

print "! ".$country->CountryCode." = ".$country->CountryName;

once the columns have been loaded with the Loader it fails but this works instead:

print "! ".$country->countrycode." = ".$country->countryname;

I thought this behaviour might be an option but I've looked all through DBIx::Class::Schema::Loader::Base documentation and can't see anything pertaining. Is this a bug or by design?

Replies are listed 'Best First'.
Re^3: DBIx::Class::Schema::Loader prob
by insaniac (Friar) on Aug 24, 2006 at 20:44 UTC
    I think this is because column names are not case sensitive in MySQL ;-) google reveals a lot ;-)

    to ask a question is a moment of shame
    to remain ignorant is a lifelong shame