We don't bite newbies here... much | |
PerlMonks |
Re: One to many, many to one relationshipsby TOD (Friar) |
on Mar 12, 2007 at 04:34 UTC ( [id://604281]=note: print w/replies, xml ) | Need Help?? |
that's rather a SQL-problem than one of perl.
notice that every record in the node-table, and every record in the sequence-table has to contain the pointer to a record in the taxon-table. the one-to-many relationship will then be realized by something like:
and the one-to-one realtionship you will find with a query like:
how you then wrap that in an object-oriented code is a matter of taste. but basically these are the things that should go on in the background. greez TOD
In Section
Seekers of Perl Wisdom
|
|