Re: [CDBI] Order of columns returned by "columns"

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

From: Brad Bowman
Subject: Re: [CDBI] Order of columns returned by "columns"
Date: 09:33 on 08 Nov 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.

Brad

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

[CDBI] Order of columns returned by "columns"
Ken Youens-Clark 23:44 on 07 Nov 2005

Re: [CDBI] Order of columns returned by "columns"
Matt S Trout 00:06 on 08 Nov 2005

Re: [CDBI] Order of columns returned by "columns"
Brad Bowman 09:33 on 08 Nov 2005

Re: [CDBI] Order of columns returned by "columns"
Matt S Trout 15:46 on 08 Nov 2005

Generated at 20:55 on 09 Nov 2005 by mariachi v0.52