【问题标题】:What is the difference between "Cloud Datastore indexes" and "Cloud Firestore indexes"?“Cloud Datastore 索引”和“Cloud Firestore 索引”有什么区别?
【发布时间】:2020-01-26 08:22:03
【问题描述】:

我正在阅读 GCP 文档 Choosing between Native Mode and Datastore Mode 的文档。

它解释了 Firestore in Native Mode (Native) 和 Firestore Data in Datastore Mode (Datastore Mode) 的区别。

我的问题是关于以下引用:

该项目将使用 Cloud Datastore 索引而不是 Cloud Firestore 索引。

上面的文档没有对这两种索引类型的区别提供任何解释。

您能否解释一下其中的区别,或者建议任何有用的文档?

谢谢!

【问题讨论】:

    标签: google-cloud-platform google-cloud-firestore google-cloud-datastore


    【解决方案1】:

    索引的管理方式不同且不兼容。

    例如,您不能获取 Datastore 模式 index.yaml 文件并使用它来创建 Native 模式索引。

    【讨论】:

      猜你喜欢
      • 2019-06-22
      • 2021-01-13
      • 1970-01-01
      • 2020-09-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-06-24
      • 2016-07-04
      相关资源
      最近更新 更多