see 
http://groups.google.com/group/google-appengine/browse_thread/thread/cf9af7c9a5976d27

On Nov 2, 12:39 pm, Ben Nevile <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Say model X has a ReferenceProperty to model Y.  I have an instance x
> loaded into memory.  I want to know the key for model object y, but I
> don't want to load y from the datastore.  From what I can tell in the
> documentation, accessing the attribute y, which holds a key,
> automatically loads the object y if it's not already in memory.
>
> in code, I want
>
> x.y.key()
>
> but I don't want to load y from the datastore.  so I want something
> like
>
> x.y_key
>
> Is this possible?  Thanks in advance,
> Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to