Re: [CDBI] Accessing a column named Sequence?
"Kevin Brown" <[email protected]> Tue, 4 Dec 2007 12:19:20 -0700
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
> > I'm trying to access a database that was created for use in > biological > > information. As such the database has columns like Sequence which > > creates a conflict in Class::DBI when it tries to create > the accessor > > for the column and runs into the fact that > _sequence_accessor already > > exists. Is there a way around this since I can't rename the column? > > Rename the accessor instead. > > http://search.cpan.org/~tmtm/Class-DBI/lib/Class/DBI.pm#Changi > ng_Your_Column_Accessor_Method_Names Yes, that helped a lot. Thank you.