On Fri, Apr 3, 2009 at 3:38 PM, Larkin2 <[email protected]> wrote: > > In the example mention at: > http://code.google.com/appengine/kb/commontasks.html#update > I don't understand what is going here: comment.comment_text = db.Text > (updated_comment) > > What is db.Text ? > > confused, your help is greatly appreciated!
db.Text is the type of that property as you defined it: http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#Text That statement is turning a string (updated_comment) into a db.Text object for the datastore. -Josh --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
