[CDBI] add new columns to a table will break exi sting class?

Perrin Harkins perrin at elem.com
Wed May 24 15:07:49 BST 2006

On Wed, 2006-05-24 at 16:24 +0800, pangaoyong wrote:
> If I add more columns to a table, it will break existing class which
> already use this table?

It will if the new column requires a value and doesn't default one.

> my second question is, could I use class::dbi if a table doesn't have
> a primary key?

No, you must have a primary key.

- Perrin

More information about the ClassDBI mailing list