我只需要为自己的应用程序弄清楚这一点,因此在此处重新发布答案。

最佳答案

自从被问及回答以来,时间已经过去了。现在有一种更简单的方法。

参见http://code.google.com/appengine/docs/python/datastore/metadataqueries.html

q = Kind.all()
for kind in q.fetch(100):
  print kind.kind_name

关于google-app-engine - 如何列出数据存储区中的种类?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/2541945/

10-10 09:39