class UserData(db.Model):
user_name = db.StringProperty()
pass_word = db.StringProperty()
points = db.IntegerProperty()
如果我想更新“积分”实体怎么办?阅读谷歌文档,发现没有运气。
答案 0 :(得分:2)
我认为你很难搜索/阅读文档。
https://developers.google.com/appengine/docs/python/datastore/overview#Python_Datastore_API
讨论如何使用和创建/更新实体。
基本API文档也详细介绍
模型类文档甚至会告诉你
https://developers.google.com/appengine/docs/python/datastore/modelclass