Re: [CDBI] Accessing a column named Sequence?
"Edward J. Sabol" <sabol-2oVx0MVsMgiP/[email protected]> Tue, 4 Dec 2007 13:33:17 -0500
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
Kevin Brown asked: > 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#Changing_Your_Column_Accessor_Method_Names Hope this helps, Ed