[Dbix-class] Re: Explicit class naming

Dag-Erling Smørgrav des at des.no
Fri Feb 15 13:49:24 GMT 2013


Will Crawford <billcrawford1970 at gmail.com> writes:
> Dagfinn Ilmari Mannsåker <ilmari at ilmari.org> writes:
> > Dag-Erling Smørgrav <des at des.no> writes:
> > > Is there a way to force the class name, perhaps by passing a hash
> > > to DBIx::Schema::Loader that maps the (case insensitive) table
> > > name to a (case sensitive) class name?
> > This is exactly what the moniker_map option is for:
> Do look at the inflect_{singular,plural} attributes too, if you're
> tweaking the result source names you may want to tweak some of the
> accessor / relation names as well.

Thank you both!

DES
-- 
Dag-Erling Smørgrav - des at des.no



More information about the DBIx-Class mailing list