简体   繁体   English

限制 firebase firestore 中一个 Collection 下的文档数量

[英]Limitation to number of documents under one Collection in firebase firestore

I am new to firebase firestore and searched, but could not find the limitation for the number of documents that can be handled under one collection.我是 firebase firestore 的新手并进行了搜索,但找不到一个集合下可以处理的文档数量的限制。 Can anybody help me out to know please.任何人都可以帮我知道吗。

firebaser here火力士在这里

There is no documented limit to the number of documents that can be stored in a Cloud Firestore collection. Cloud Firestore 集合中可以存储的文档数量没有记录限制。 The system is designed to scale to huge data sets.该系统旨在扩展到庞大的数据集。

There is no limitation on the number of documents in Firestore collection but it has a limitation of the size of the document. Firestore 集合中的文档数量没有限制,但有文档大小的限制。 The maximum size of a document is roughly 1 MiB (1,048,576 bytes).文档的最大大小约为 1 MiB(1,048,576 字节)。

There are many more limits that are listed in the below link.下面的链接中列出了更多限制。 Limits of firestore火场的限制

There is no document limit under one collection一个集合下没有文档限制

Official documentation for clearness: Click here清晰的官方文档: 单击此处

But there is limitation in maximum depth of subcollections但是子集合的最大深度有限制

正如@Frank 所说,文档没有限制,但是要回答@Tri 的问题,子集合的数量有限制(100),这意味着集合内的集合

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 react.js 中的 WHERE 查询计算 Firebase Firestore 中集合中的文档数 - How To Count Number of Documents in a Collection in Firebase Firestore With a WHERE query in react.js Firebase Firestore:有没有办法为集合中的所有文档强制执行必填字段? - Firebase Firestore: Is there a way to enforce required fields for all documents in a collection? Firestore 读取文档按距离排序的限制 - Firestore read documents limitation for sorting by distance 计算集合 Firestore 中具有特定字段的文档数 Flutter - Count number of documents with a particular field in a collection Firestore Flutter 从 firebase firestore 检索后,如何根据字段对 firestore 集合文档进行排序 - how to sort firestore collection documents based on a field after retrieving from firebase firestore Firebase Firestore:查询并获取其中一个字段中包含查询值的文档 - Firebase Firestore: Query and get documents that contain the queried value in one of the fields 删除 Firestore 集合中的所有文档 - Deleting all documents in Firestore collection Firestore Group Collection 文件的唯一性 - Firestore Group Collection documents uniqueness 从 Firestore 集合中获取包含所有文档的列表 - Get a list with all documents from a Firestore collection 如何在 Firestore 的子集合中查询文档? - How to Query for documents in a sub collection in Firestore?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM