See this recipe: http://appengine-cookbook.appspot.com/recipe/getting-dbreferenceproperty-key-without-loading-entity/
On Jul 7, 2:53 am, Oliver Zheng <[email protected]> wrote: > For a model, I have a ListProperty of Keys, and whenever I access it, > it's a list of keys. Great. How can I access a ReferenceProperty of a > model and have it return a Key instead of the actual instance (which > has to be retrieved from datastore)? I've setup my models by putting a > lot of info into key_names to minimize data transfer, and this would > be a lot more useful if I could actually just use keys instead of > instances. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
