Hello,
I'd like add_to_$rel return the $link instead of $obj in ::ManyToMany.pm.
I've inlined a diff below that does so, with an updated test and
documentation patch against
http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/tags/0.08109
Index: t/relationship/core.t
That sound like a use case for DBIx::Class::DynamicSubclass.
Am Montag, den 24.08.2009, 17:14 +0200 schrieb John Napiorkowski:
> I know we all must often run into schema designs like the following:
>
> ## Column details removed for clarity
> package MyApp::Schema::Result::Gender; {
> use bas
I know we all must often run into schema designs like the following:
## Column details removed for clarity
package MyApp::Schema::Result::Gender; {
use base 'MyApp::Schema::Result';
__PACKAGE__->table('gender');
__PACKAGE__->add_columns(qw/gender_id label/);
}
Actually, never mind what i just said. DBIC is right, it's a proper bugfix.
*Generally*, it is not correct to LEFT JOIN one thing then JOIN
onwards from it, which clearly is not your case here.
Sorry for the wrong spot.
--
wallace reis/wreis Catalyst and DBIx::Class consultancy with
On Fri, Aug 21, 2009 at 4:22 PM, Steve Rippl wrote:
> Now the following in my app
>
> $c->stash->{sections} = [$c->model('DB::Section')->search(
> {},
> {
> join => [{'course_sections' => 'courses'} ,
> {'st
Byron Young wrote:
> Emmanuel Quevillon wrote on 2009-08-21:
>> sub connection {
>>
>> my ($self, @rest) = @_;
>> $self->next::method(@rest);
>>
>> $self->driver_name($self->handler()->{Driver}->{Name});
>>
>> }
>> # You can replace this text with custom content, and it will be
>>
Original Message
Subject: Re: [Dbix-class] Problem overriding connection method from
Schema module
Date: Mon, 24 Aug 2009 09:23:06 +0200
From: Emmanuel Quevillon
Reply-To: t...@pasteur.fr
Organization: Institut Pasteur
To: Byron Young
CC: 'DBIx::Class user and developer list'