[Dbix-class] Relationship problems

Jess Robinson castaway at desert-island.demon.co.uk
Mon Nov 13 12:42:27 GMT 2006



On Sun, 12 Nov 2006, Josef Karthauser wrote:

> On Sat, Nov 11, 2006 at 08:58:18PM +0000, Jess Robinson wrote:
>>
>> The condition needs to be an SQL::Abstract-style representation of the
>> join between the tables. When resolving the condition for use in a "JOIN",
>> keys using the pseudo-table "foreign" are resolved to mean "the Table on
>> the other side of the relationship", and values using the pseudo-table
>> "self" are resolved to mean "the Table this class is rep- resenting".
>>
>> .. How would you write this so that it makes sense to you? We're always on
>> the lookout for parts of the docs people don't understand.. Please give us
>> some input to help improve them.
>>
>
> Hey Jess,
>
> Ah, I didn't see that paragraph.  In which document is it from?
>

It's in DBIx::Class::Relationship::Base .. maybe it needs to be more 
visible then?

Jess




More information about the Dbix-class mailing list