无法从数据存储中删除具有损坏标识的实体 [英] Cannot delete entity with broken id from datastore

查看:111
本文介绍了无法从数据存储中删除具有损坏标识的实体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设法使用以下关键字在数据存储中创建实体:'mydomainname.se-w3wp - ap-mydomainname.se - v-v2.0 - l-webengine4.dll - a-%2F .pipeiisipm9d20c68a-5b24-4161-aa53-a8dd9e44f002 - hC%3Ainetpubempapppoolssmydomainname.semydomainname.se.config - w --- m-0 - t-20'

I managed to create an entity in the datastore with the following key: 'mydomainname.se-w3wp--ap-mydomainname.se--v-v2.0--l-webengine4.dll--a-%2F.pipeiisipm9d20c68a-5b24-4161-aa53-a8dd9e44f002--h-C%3Ainetpubempapppoolssmydomainname.semydomainname.se.config--w---m-0--t-20'

当我在应用程序中列出实体时显示,但我无法在数据存储区查看器中找到它,因此我无法删除它。任何关于如何摆脱它的建议?

It shows up when I list the entities in my application, but I cant find it in the datastore viewer so I can't delete it. Any suggestions on how to get rid of it?

我使用Python。

推荐答案

使用python,您可以使用

I can't tell if you're using python or java.

developers.google.com/appengine/docs/python/tools/remoteapi#Running_Remote_Shellrel =nofollow> Remote API shell 来查询您的实体并将其删除。

With python you can use the Remote API shell to query your entity and delete it.

Java也有一个远程API,但您需要编写更多代码来创建将运行您的查询并删除实体的客户端。

Java's got a remote API as well, but you'll have to write a bit more code to create the client that will run your query and delete the entity.

这篇关于无法从数据存储中删除具有损坏标识的实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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