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

Zbigniew Lukasiak zzbbyy at gmail.com
Mon May 15 14:52:32 CEST 2006


On 5/15/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
> The point of the case-sensitive match is that *if* there are e.g.
> columns 'name' and 'NAME', and *if* the DBD returns separate column info
> for 'name' and 'NAME', the two column info chunks get matched to their
> appropriate columns correctly. Simple as that.

Hmm I've started this thread with this exact example and you seemed to agree to:

> IMO it would be sane if the code retrieving the columns acted case
> insensitivly, and maybe threw an error if it came across two fields that
> are both the same when case is ignored.

Does that mean you changed your mind?  I would rather code it case-insensitive.

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/



More information about the Dbix-class mailing list