Re: [CDBI] Re: delete on table with multiple pks

[prev] [thread] [next] [Date index for 2005/11/28]

From: Matt S Trout
Subject: Re: [CDBI] Re: delete on table with multiple pks
Date: 15:06 on 28 Nov 2005
On Sun, Nov 27, 2005 at 11:47:23PM -0600, Peter Speltz wrote:
> On 11/26/05, Matt S Trout <dbix-class@xxxxx.xx.xx> wrote:
> > On Sun, Nov 27, 2005 at 12:29:36AM +0000, William Ross wrote:
> > > by the way, are you inflating either of the key columns with a has_a
> > > relationship? that's not allowed.
> >
> > Works fine in DBIx::Class including under CDBICompat. Has anybody ever figured
> > out why Class::DBI can't handle this properly?
> >
> 
> Are you saying inflating key columns works fine in DBIx::Class?

Absolutely. See

http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/t/run/18self_referencial.tl

for the tests for this against native DBIx::Class where the SelfRefAlias
class has both parts of its primary key inflated to different objects.

        -- 
             Matt S Trout       Specialists in Perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

(message missing)

[CDBI] delete on table with multiple pks
Jim Salladin 06:02 on 25 Nov 2005

[CDBI] Re: delete on table with multiple pks
Jim Salladin 23:09 on 25 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Kingsley Kerce 23:18 on 25 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
William Ross 00:29 on 27 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Matt S Trout 02:49 on 27 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Peter Speltz 05:47 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Matt S Trout 15:06 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Perrin Harkins 15:33 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Jim Salladin 05:18 on 30 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Kingsley Kerce 05:45 on 30 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
William Ross 08:24 on 30 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Jim Salladin 17:12 on 30 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Peter Speltz 16:57 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Perrin Harkins 17:18 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Matt S Trout 18:35 on 28 Nov 2005

[CDBI] Re: delete on table with multiple pks
Edward J. Sabol 21:00 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Peter Speltz 22:29 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Perrin Harkins 22:40 on 28 Nov 2005

Generated at 14:52 on 01 Dec 2005 by mariachi v0.52