dbixでjoinしたあとjoinしたカラムがとりたかった
My::Schema::Images->belongs_to('Posts', 'My::Posts::posts', 'post_id' ); my $rs = $schema->resultset('Images')->search( { } , { rows => 10, order_by => 'id DESC', join => 'posts', include_columns => ['posts.title'], } ); my $row; while ( $row = $rs->next ) { my $title = $row->posts->name;