Re: Lazy population of has_a child records

[prev] [thread] [next] [Date index for 2005/06/08]

From: Perrin Harkins
Subject: Re: Lazy population of has_a child records
Date: 04:06 on 08 Jun 2005
On Tue, 2005-06-07 at 22:36 -0400, Christopher Laco wrote:
> No, much to my surprise, %copy is empty except for id eve though the
> items class has:
> 
> __PACKAGE__->columns(Essential => qw(id cart sku price));

Your understanding of how it should work is correct -- $cart->items()
does a search on the Items class, like any other search.  Maybe there's
a bug in your Items class.  Can you show us some code?  Also, can you
try disabling the object index with $Class::DBI::Weaken_Is_Available =
0?

- Perrin

Lazy population of has_a child records
Christopher Laco 02:36 on 08 Jun 2005

Re: Lazy population of has_a child records
Perrin Harkins 04:06 on 08 Jun 2005

Re: Lazy population of has_a child records
Peter Speltz 04:10 on 08 Jun 2005

Re: Lazy population of has_a child records
Tony Bowden 08:29 on 08 Jun 2005

Re: Lazy population of has_a child records
Christopher Laco 12:40 on 08 Jun 2005

Re: Lazy population of has_a child records
Christopher Laco 12:52 on 08 Jun 2005

Re: Lazy population of has_a child records
merlyn (Randal L. Schwartz) 16:24 on 08 Jun 2005

Generated at 16:36 on 28 Jul 2005 by mariachi v0.52