什么是 Google Appengine Ndb GQL 查询最大限制? [英] What is the Google Appengine Ndb GQL query max limit?

查看:46
本文介绍了什么是 Google Appengine Ndb GQL 查询最大限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我环顾四周是为了得到答案,我可以从 Google AppEngine 上 Ndb 上的 GQL 查询获得的结果的最大限制是多少.我正在使用带有游标的实现,但如果我一次检索它们会快得多.

I am looking around in order to get an answer what is the max limit of results I can have from a GQL query on Ndb on Google AppEngine. I am using an implementation with cursors but it will be much faster if I retrieve them all at once.

推荐答案

基本上,您不再有每个查询 1000 个实体的旧限制,但请考虑使用合理的限制,因为您可能会遇到超时错误,并且最好批量获取它们,这样用户就不会在加载期间等待.

Basically you don't have the old limit of 1000 entities per query anymore, but consider using a reasonable limit, because you can hit the time out error and it's better to get them in batches so users won't wait during load time.

这篇关于什么是 Google Appengine Ndb GQL 查询最大限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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