On Wed, Dec 31, 2008 at 5:21 PM, Ryan W wrote: > If you have the key, why not just > use the stringified version of it directly instead of constructing the > key from its Id?
Maybe you would want to check if the key is valid - I think Key will throw an exception if it is not. Apart that, it is cleaner and exact the same to use the stringfied version - if you have it. Constructing it from path may be useful in some cases when you have known ancestors - remember that id is only unique for the same ancestor. Anyway, sometimes it makes sense to build a key programaticaly - normally not. -- rodrigo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
