Re: [CDBI] Having a column named 'id' as part of a multi-column primary key

[prev] [thread] [next] [Date index for 2005/08/10]

From: merlyn (Randal L. Schwartz)
Subject: Re: [CDBI] Having a column named 'id' as part of a multi-column primary key
Date: 08:07 on 10 Aug 2005
>>>>> "Scotty" == Scotty Allen <lists@xxxxxxxxxxx.xxx> writes:

Scotty> Is there any reason the above code shouldn't read:

Yes.  What happens when I call $row->id?  What do I get?  Just
the individual column, or the entire multicolumn ID?

->id is reserved for a reason!

        -- 
        Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@xxxxxxxxxx.xxx> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

Re: [CDBI] Having a column named 'id' as part of a multi-column primary key
merlyn (Randal L. Schwartz) 08:07 on 10 Aug 2005

Generated at 13:17 on 19 Aug 2005 by mariachi v0.52