Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Class::DBI has_manyby hardburn (Abbot) |
on Dec 29, 2003 at 14:38 UTC ( [id://317439]=note: print w/replies, xml ) | Need Help?? |
Now good database design, has taught me that when one has a 1:N relationship, one should construct a new table to hold that relationship. I think you're over-normalizing here. This is a good idea for many-to-many relationships (there is no end to the half-baked ideas for doing that without a join table), but a join table on a one-to-many relationship is overkill. ---- : () { :|:& };: Note: All code is untested, unless otherwise stated
In Section
Seekers of Perl Wisdom
|
|