2009/11/12 Андрей Костенко <[email protected]>: > http://search.cpan.org/~ribasushi/DBIx-Class-0.08112/lib/DBIx/Class/Relationship.pm#METHODS > Круто, год назад параметра "cond" не было :( и похожие join выглядели: from => [ { me => 'product' }, [ { company_feature => 'company_feature', # table to join -join_type => 'LEFT', # join type }, { # join conditions 'me.manufacturer_id' => 'company_feature.company_id', 'company_feature.feature_name' => "'productmatch'", 'company_feature.feature_status' => "'live'", }, ], [ { product_standard => 'product_standard', # table to join -join_type => 'LEFT', # join type }, { # join conditions 'me.product_id' => 'product_standard.product_id', 'product_standard.standard_org_id' => "'astm'", }, ], ],
А вообще да, надо руки отрывать за такие структуры. -- WBR, Yuri Pac -- Moscow.pm mailing list [email protected] | http://moscow.pm.org
