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

Zbigniew Lukasiak zzbbyy at gmail.com
Sat May 13 12:08:13 CEST 2006


Hmm, what I was proposing at that time was to lowercase the retrieved
hash with columns info and then also lowercase the column name when
matching.  The effect would be exacly caseinsensitiviness but I was
not using that word.  I felt that what was expected from me was
something more magical.

Thats nice that we have that over - when I have some time I'll code it.

The left questions are:
- when the error should be emitted
- what to do if quoting is being used

--
Zbyszek

On 5/12/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
> Jess Robinson wrote:
> > Ahh I see.. sorry, was a bit confused..
> >
> > 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.
>
> Which is what I actually proposed at the time.
>
> Zby's reference to being "criticised" was, I suspect, a communication
> error, so lets gloss over that and get on with figuring out how to code
> this.
>
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
>


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



More information about the Dbix-class mailing list