[Dbix-class] spaces in my column names... help?
Michael Higgins
mhiggins at banfieldgroup.com
Thu Apr 19 03:37:04 GMT 2007
Hello, all --
I am trying to set up a simple relationship using schema.
Problem is, the database has column names like 'Invoice #' and 'Bill To'.
The error code for belongs_to and has_many is "no such column billto on
foreign class...".
This is true, of course. It has a space in the name.
How do I get DBIx::Class::Schema to look for the right column?
Any clue or example here greatly appreciated.
Cheers,
--
Michael Higgins
More information about the Dbix-class
mailing list