[Dbix-class] Q: Differing column names in DBIC and SQL

Bernhard Graf dbic3 at augensalat.de
Tue Oct 21 10:03:42 BST 2008


Peter Rabbitson wrote:

> Do not mutilate column names, but instead use your tools the way they
> were intended to be:
> http://search.cpan.org/~ash/DBIx-Class-0.08010/lib/DBIx/Class/Storage
>/DBI.pm#quote_char

I know these options, but
- their values depend on the underlying RDBMS,
- AFAIR their usage slows down db access once more.

> As a side note - it is wise to avoid naming columns identical to perl
> conventional method names (i.e. having a column 'new' will have some
> strange side effects)

Thanks for the tip.

Still I hope to get an answer to my actual question.
-- 
Bernhard Graf



More information about the DBIx-Class mailing list