[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] DBIx::Class::Schema::Loader moniker_map



Hey, looky there...

 

By default DBIx::Class::Schema::Loader creates the class 'XfHotelcode' from the database table 'xf_hotelCode'.

 

If you don't like that conversion of casing and underscore changes, simply override 'moniker_map' to whatever you prefer.

 

http://search.cpan.org/~ilmari/DBIx-Class-Schema-Loader-0.04006/lib/DBIx/Class/Schema/Loader/Base.pm#moniker_map

 

Handy.  :)

 

j