时间已经过去了,因为这被问到并回答了.现在有一种更简单的方法.
请参阅http://code.google.com/appengine/docs/python/datastore/metadataqueries.html
q = Kind.all()
for kind in q.fetch(100):
print kind.kind_name
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1223 次 |
| 最近记录: |