使用数据存储查看器Google App Engine创建实体 [英] Create entity using datastore viewer Google App Engine

查看:76
本文介绍了使用数据存储查看器Google App Engine创建实体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



要做到这一点,我读了我必须点击选项卡上的我的数据存储创建数据存储查看器中,但我没有这个链接。
我只有查询选项卡,因为我没有数据,所以没有显示任何内容。



如何从Google管理控制台创建实体引擎?

解决方案

App Engine将只允许您为已经定义的Kind创建新实体。如果您还没有将任何内容保存到数据存储中,那么您的数据存储是空白的,您将无法查询或创建它。



如果您不想为了将第一个实体写入数据存储而部署代码,可以启用交互式控制台,并编写生成模型,填充和保存模型的代码。一旦你完成了,你的Create链接就会出现。


I would like to create an entity in my datastore from the admin console on google app engine.

To do this, I read I must clicked on the tab "create" in the datastore viewer BUT I don't have this link. I have just the "query" tab and as I have no data, nothing appears.

How can I create an entity from the admin console on google app engine?

解决方案

App Engine will only let you create new entities for a Kind that has already been defined. If you haven't ever saved anything to the datastore, your datastore is a blank slate, and you won't be able to query or create in it.

If you don't want to deploy code in order to write your first entities to the datastore, you can enable the interactive console in production, and write code that generates a model, populates, and saves it. Once you've done that, your Create link should appear.

这篇关于使用数据存储查看器Google App Engine创建实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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