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 google-appengine@googlegroups.com
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