[CDBI] Primary key declarations on non-primary key columns fails poorly

Perrin Harkins perrin at elem.com
Tue Aug 22 02:52:08 BST 2006


Derek Basch wrote:
> The primary_key_info method of the DBI database handle object should
> return that information.

Class::DBI::mysql already has that information.  Why not let it set up 
your table for you?  It won't make this mistake.

- Perrin



More information about the ClassDBI mailing list