----- Opprinnelig melding ----- 
Fra: Emiliano <[EMAIL PROTECTED]>
Til: <[EMAIL PROTECTED]>
Sendt: 22. mai 2001 12:37
Emne: Re: SV: [midgard-user] Topics and referencing


> Vidar Berg wrote:
> 
> > > If you're using 1.4 or later, yes, you have them. Globally Unique 
> > > IDentifiers are a object- and location independant way of identifying a 
> > > specific object. Every object has an ID, but that's only unique to the 
> > > table within your specific database. If you want to exchange data (to 
> > > keep two servers in sync, for example) you work with the GUIDs to be 
> > > precise about what objects we're dealing with.
> > > 
> > > Emile
> > > 
> > 
> > How can I find the GUIDs? As far as I can see, they appear nowhere in either 
> > asgard or nadmin. Am I overlooking something? 
> 
> Nope, I don't think either shows them. You can ask an object its guid
> by using $object->guid(). It isn't automatically port of the fetched
> object for performance reasons -- it takes an extra join.
> 

Would it be possible then to find the guids easily by querying the sql base then?

Vidar

> 
> > Just to ensure: GUIDs are the same to a object no matter what. When a GUID is 
>given, the object has the same GUID forever?
> 
> Yes.
> 
> Emile
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to