开发者

View *More* Entities in App Engine SDK Datastore Viewer

开发者 https://www.devze.com 2023-03-21 05:37 出处:网络
The default number of entities displayed in the App Engine SDK Datastore viewer is 10 entities. How do I get it to display more at once? Appending ?limit=100 doesn\'t seem to do anything.

The default number of entities displayed in the App Engine SDK Datastore viewer is 10 entities. How do I get it to display more at once? Appending ?limit=100 doesn't seem to do anything.

I'm referring to the pa开发者_开发百科ge found at http://localhost:8000/_ah/admin/datastore?kind=[entity_type].


Using limit=100 works, but only after navigating to a page after the first or changing the GQL query to execute - which adds additional parameters to the query string.


Append num=100 to the url you mentioned, you can go up to 100 this way. If it's still not enough, take a look at DatastoreRequestHandler.num() method in google/appengine/ext/admin/__init__.py.

All this applies to SDK 1.6.1.

0

精彩评论

暂无评论...
验证码 换一张
取 消