Hello Monks,
I've been asked to take on a project to import a number of xml files into a database. The data model is not great and I think it is a problem for DBIx::Class.
Let's say we have 3 tables, A, B and C. B and C reference A and C references B. When DBIx::Class generates the sql to insert a record for this design it will leave off one of the foreign keys. Most often, it is the foreign key that is accessible through the relationship instead of directly.
I know the db layout isn't great, but it is what I was given and I don't have the luxury of changing it at this point. Is this an issue with DBIC? Is it too smart to work with ugly db designs?
I appreciation any insight.
In reply to Trouble with DBIx::Class by digger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |