什么是ListProperty的最大长度? [英] What's the max length of a ListProperty?

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

问题描述

ListProperty中可以存储多少项目?是否有限制?

解决方案

实体的大小限制为1MB(当编码为协议缓冲区时),所以这提供了列表大小的实际限制。此外,如果列表已编入索引,则在得到异常之前,您限制为5000个条目,因为您的实体索引行太多。


How many items can be stored in a ListProperty? Is there a limit?

解决方案

Entities are limited to 1MB in size (when encoded as a Protocol Buffer), so this provides a practical limit on the size of a list. Further, if the list is indexed, you're limited to 5000 entries before you get an exception because your entity has too many index rows.

这篇关于什么是ListProperty的最大长度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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