【问题标题】:Firestore maximum nested depthFirestore 最大嵌套深度
【发布时间】:2018-04-14 04:02:27
【问题描述】:

Google Firebase 的新 Firestore 中的最大嵌套深度是多少?

实时数据库的限制是 32: https://firebase.google.com/docs/database/web/structure-data#avoid_nesting_data

如果您需要更多深度,是否像某些 NoSQL 数据库那样将关键路径扁平化为字符串(例如弹性搜索)?

【问题讨论】:

    标签: firebase firebase-realtime-database google-cloud-firestore


    【解决方案1】:

    子集合的最大深度为100

    并且文档的最大大小是1 MiB (1,048,576 bytes)

    您可以找到所有限制和配额here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-08-22
      • 1970-01-01
      • 1970-01-01
      • 2020-08-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多