Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Class::DBI Intro

by mojotoad (Monsignor)
on Aug 01, 2003 at 19:06 UTC ( #280106=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Class::DBI Intro
in thread Class::DBI Intro

Actually, it doesn't always. As long as the relationship is unique, the cross-reference itself can be treated as a multi-column primary key, even if it isn't defined as such in the database.

Can you give an example? I'm still learning about Class::DBI, but thus far I have not found a way to avoid it claiming the first column as a primary key (in the absence of such a declaration in the DB table itself).

Matt

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://280106]
help
Chatterbox?
[Lotus1]: damn, I just opened the attacment on a phishing simulation email in the $work email
[Lotus1]: now I'll be sent to re-education camp or something
[stevieb]: relocate Lotus1 to the brig, straight away!

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2017-05-24 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?