更新应用引擎实体 [英] Update app engine entity

查看:94
本文介绍了更新应用引擎实体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更新应用程序引擎中的现有记录。 使用如果您有权访问数据存储,请访问code.google.com/appengine/docs/python/datastore/gqlreference.htmlrel =nofollow> gql
您必须定义方法根据你的db类来做更新。更新只能通过类发生,并且需要通过请求调用。


How to update existing record in app engine.

解决方案

Use gql if you have access to the datastore. You have to define methods to do the update according your db class. The updates can happen only via the class and it needs to be called upon by requests.

这篇关于更新应用引擎实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆