db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Allen <...@mojavelinux.com>
Subject foreign key method names
Date Wed, 12 Mar 2003 23:26:44 GMT
I know this has been brought up before, but I figured I would second
the motion.  When the foreign key method is generated, it attempts
to pluralize the table name and fails in certain cases thanks to
strange English grammer rules.  I had a foreign table called
CompanyIndustry and the method became

getCompanyIndustrys

The suggestion was to just append the word "List" or "Group" since
it would never fail.  Hence, the method would become

getCompanyIndustryList

I would like to add this to bugzilla, but there is no way to add a
bug to a torque/turbine project since it is currently missing.  Can
this be added sometime soon?

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <dan@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"While they're pumping, you're soaking them" 
 -- Speed Loader TV Advert
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Mime
View raw message