[Dbix-class] ENUM values from MySQL using the column_info()

Carl Franks fireartist at gmail.com
Fri May 12 10:55:21 CEST 2006


On 12/05/06, Zbigniew Lukasiak <zzbbyy at gmail.com> wrote:
> Before we start to depend too much on columns_info_for we need to
> agree on some case convention.  Now when you your column is named
> 'name' and in the database you have 'NAME' you'll not get the column
> info.
> It seems to me that most of DBIx::Class is case insensitive - but I
> have never seen it stated officially.

I'm not sure why you think this'll be different than any other use of
DBIx::Class?

If your database isn't case-sensitive, then it doesn't matter what case you use.
If your database is case-sensitive, then you'll need to get used to
using the correct case, or nothing'll work.

As far as I know, DBIx::Class doesn't make any effort to try to be
case-insensitive, but if your database is, then DBIx::Class may appear
to be case-insensitive.

Carl



More information about the Dbix-class mailing list