Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Class::DBI and DB design

by tunaboy (Curate)
on Jun 06, 2003 at 16:27 UTC ( #263750=note: print w/replies, xml ) Need Help??

in reply to Class::DBI and DB design

I am also using Class::DBI (although with MySQL) and I had to add a primary key to all my "join" tables to satisfy Class::DBI's requirements.

This modification of the schema simply to be able to use a module bothered me at first, until a recent discussion on the Class::DBI mailing list in which Ovid made pretty much the same comment as in the post above.

My database-fu is not very strong but I can say that I have experienced no problems as a result of this change and I have had no problems with Class::DBI.

my $0.02

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://263750]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2016-10-24 10:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (304 votes). Check out past polls.