Just to clarify. The documentation says:
When setting up the relationship we examine the foreign class's has_a() declarations to discover which of its columns reference our class. If no such declarations are set up, or none match, we assume that it is linking to us via a column named after the moniker() of our class. If this is not true you can pass an additional third argument to the has_many() declaration stating which column of the foreign class references us.In my case the other table does have the has_a() declaration - so it should work the way I wrote.
In reply to Re: Re: field names and Class::DBI
by zby
in thread field names and Class::DBI
by zby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |