[CDBI] tables with data_type column names

[prev] [thread] [next] [Date index for 2005/09/20]

From: Paul Makepeace
Subject: [CDBI] tables with data_type column names
Date: 00:54 on 20 Sep 2005
I'm re-learning CDBI after quite an absence and have discovered a legacy
system I'm working on has a table with 'data_type' as a column name,
which clashes with an internal CDBI method.

The twist is that I'm trying to use the barely-documented
Class::DBI::Loader.

http://search.cpan.org/dist/Class-DBI/lib/Class/DBI.pm#Changing_Your_Column_Accessor_Method_Names
seems like it might've helped otherwise.

Anyone solved this? Not using ::Loader is an option if there's another
similarly dynamic option.

Thanks, Paul

        -- 
        Paul Makepeace .............................. http://paulm.com/inchoate/

"If I jingle, then all would be revealed."
   -- http://paulm.com/toys/surrealism/

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

[CDBI] tables with data_type column names
Paul Makepeace 00:54 on 20 Sep 2005

Re: [CDBI] tables with data_type column names
David Baird 07:48 on 20 Sep 2005

Re: [CDBI] tables with data_type column names
Paul Makepeace 09:10 on 20 Sep 2005

Re: [CDBI] tables with data_type column names
Matt S Trout 09:33 on 20 Sep 2005

Generated at 17:55 on 28 Sep 2005 by mariachi v0.52