Re: [CDBI] Class::DBI and DESTROY

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

From: Matt S Trout
Subject: Re: [CDBI] Class::DBI and DESTROY
Date: 19:43 on 10 Nov 2005
On Thu, Nov 10, 2005 at 07:20:15PM +0000, Steven Mackenzie wrote:
> 
> 
> Matt S Trout wrote:
> > (oh, and if you want to be unique by record, why not just use the LOI key
> > making mechanism ...)
> 
> I like the sound of "just" -- what's LOI key though? ;-)

LiveObjectIndex

Ah, looks like it didn't become a first-class method until post-0.96. Try

my @pri = map { defined $_ ? $_ : '' } $obj->get($obj->primary_columns);
my $unique_row_key = join('|', $obj->table, @pri);

or something along those lines ...

        -- 
             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] Class::DBI and DESTROY
Steven Mackenzie 13:15 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Perrin Harkins 14:16 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Perrin Harkins 15:57 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Steven Mackenzie 16:12 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Perrin Harkins 16:17 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Steven Mackenzie 16:48 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Steven Mackenzie 15:57 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
William Ross 16:42 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Steven Mackenzie 17:10 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
William Ross 18:17 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Matt S Trout 18:36 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Steven Mackenzie 19:20 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Perrin Harkins 16:51 on 10 Nov 2005

Re: [CDBI] Class::DBI and DESTROY
Matt S Trout 19:43 on 10 Nov 2005

Generated at 23:12 on 13 Nov 2005 by mariachi v0.52