[Dbix-class] Duplicate me.id in WHERE clause of simple query
Eden Cardim
edencardim at gmail.com
Wed Jan 26 19:12:39 GMT 2011
>>>>> "Alan" == Alan Humphrey <alan.humphrey at comcast.net> writes:
Alan> Out of curiosity, why is making the relationship name the same as the foreign
Alan> key considered a "bad plan"? Seems like a matter of taste to me. You can
Alan> always get the actual value of the column via get_column.
Relying on get_column impoverishes your API, with a specific per-column
accessor it's much easier to install hooks/extensions.
--
Eden Cardim
Software Engineer
Shadowcat Systems Ltd.
http://www.shadowcat.co.uk
http://blog.edencardim.com
More information about the DBIx-Class
mailing list