I've got a column called "group". (Stupid, I know, but not my design.)

This seems to be causing syntax errors when I try to insert via DBIC. For example:

DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group, lname, name) VALUES....

The way to get around this is to quote the column names in the SQL (`group` instead of group). Is there a way to get DBIC to do this?


Mike
_______________________________________________
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/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to