[CDBI] Order of columns returned by "columns"
list at bereft.net
Tue Nov 8 09:33:32 GMT 2005
> Is it possible to get the columns returned by Class::DBI::columns to be
> in the same order that I define them?
I ended up adding a separate all_columns_ordered method to my CDBI base class.
My classes are setup largely setup from the database, CDBI::Loader style,
so I use the ordering from the table.
Using column groups effects lazy loading and I didn't want to alter that.
More information about the ClassDBI