Re: Does has_a() really call retrieve() ?

[prev] [thread] [next] [Date index for 2004/06/15]

From: Tony Bowden
Subject: Re: Does has_a() really call retrieve() ?
Date: 06:33 on 15 Jun 2004
On Tue, Jun 15, 2004 at 01:17:21AM +0100, trlorenz@xxxxxxx.xxx wrote:
> Doesn't seem to.
> I've got retrieve() overridden in my base class, and it never gets hit doing this...
> Music::CD->has_a(artist => 'Music::Artist');

No. It used to, but was patched to just go through 'simple_bless'
instead.

There's no point in going back to the database for it.

What are you overriding retrieve() to do? Perhaps there's a better way
of doing that...

Tony

Does has_a() really call retrieve() ?
trlorenz 00:17 on 15 Jun 2004

Re: Does has_a() really call retrieve() ?
Tony Bowden 06:33 on 15 Jun 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52