[CDBI] Please fix CDBI::mysql
Matt S Trout
dbix-class at trout.me.uk
Sat May 6 18:13:44 BST 2006
Aaron Trevena wrote:
> On 06/06, Karjala <karjala_lists at karjala.org> 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 :)
More information about the ClassDBI