Emiliano wrote:

> John P . Looney wrote:
> 
> 
>>  I've just done as David told me, and it's working fine.
> 
> 
> Yeah, /me inserts foot in mouth and cleans out eyes.
> 
> 
>>  Out of curiousity, what's the difference between
>>  $object->fetch
>>     and 
>>  $object=mgd_get_object($object->id)
> 
> 
> First, in practice, this will smash your list cursor, but I know what
> you mean. The fetch hands you only a partial object -- the larger &
> combined fields (that have to be pulled from other tables) have been

BTW, since *->sitegroup is not one of the largest field, we could 
include it in the *->fetch()...

> left out for performance reasons. And you don't get the object methods
> like you do with the mgd_get.
> 
> Emile
> 


-- 
Best Regards,
David Guerizec           Free Software Developer
Aurora R&D               [EMAIL PROTECTED]
Midgard core developer   http://www.midgard-project.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to