in reply to Class::DBI --> usage of group Others in __PACKAGE__->columns

Shouldn't need to declare them at all if never used. The one caveat though would be to make sure that an INSERT statement can succeed without them -- e.g. if of1 is a NOT NULL column and does not have a default, then __PACKAGE__->create() statements are going to bomb.

Replies are listed 'Best First'.
Re^2: Class::DBI --> usage of group Others in __PACKAGE__->columns
by Mask (Pilgrim) on Aug 25, 2005 at 16:02 UTC
    Thank you, davidrw. I am only reading from the database, no inserts or updates. Anyway, in case of some unexpected behaviour, I'll know where the problem can be. Thank you.