Re: [CDBI] Please fix CDBI::mysql

Matt S Trout <dbix-class-uY5y5/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
Aaron Trevena wrote:
> On 06/06, Karjala <[email protected]> wrote:
>> Is it possible to fix CDBI::mysql so as all field names in SQL
>> statements are surrounded by ` ` ?
>>
>> This would allow fields with names like "group" to exist in tables.
> 
> Don't use database keywords in your schema!

Seconded. If it's at all possible to fix your database, do that. If you 
can't change the table itself, maybe you could setup a view that 
presents the table with non-stupid field names.

But if all the above aren't possible it's nice to have an ORM that can 
handle it :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.