Re: Calling a set_sql created method after a create() has NULL __IDENTIFIER__.

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

From: Rob Andrews
Subject: Re: Calling a set_sql created method after a create() has NULL __IDENTIFIER__.
Date: 21:30 on 22 Jun 2004
On Tue, 2004-06-22 at 21:32, Tony Bowden wrote:
> You need to be calling $test->sql_refresh_timestamp->execute($test->id)
> The __IDENTIFIER__ gets expanded to 'foo = ?', so you still need to pass
> the id of the object you're dealing with. it's not quite *that* magic.

Ah. I'll note that down for future.

Thanks!

        -- 
        rob                               <e> rob@xxxxxx.xxx.xx <pgp> 0x8bb5c71e
                "This Basil. This Basil's hand. This smack on the head."

Re: Calling a set_sql created method after a create() has NULL __IDENTIFIER__.
Rob Andrews 21:30 on 22 Jun 2004

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