I've been reviewing the example provided here:
http://code.google.com/appengine/kb/commontasks.html#update in regards
to updating a record in my DB.

I have the following DB model

class Phrases(db.Model,):
  phraseContent = db.StringProperty(multiline=True)

Assuming the following records exist

ID | phraseContent
---------------------------
1 | before a window
2 | typing a phrase
3 } into a computer

How would I update #2 to read: 'typing a longer phrase'

without creating a new record all together?

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!


--~--~---------~--~----~------------~-------~--~----~
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