【问题标题】:Beta Firebase Firestore won't work with projects using app engineBeta Firebase Firestore 不适用于使用应用引擎的项目
【发布时间】:2018-03-15 02:17:20
【问题描述】:

当我尝试将 beta firestore 添加到我的 Google 云平台项目时,我收到以下消息。

无法为此项目启用 Firestore
目前无法在已使用 Cloud Datastore 或 App Engine 的项目中启用 Firestore

这会永远持续下去吗?
我想我想用 firestore 替换我的一些但不是全部数据存储区的东西以获取实时更新。

也许 firestore 在其后端使用数据存储和应用引擎?

我应该使用两个 GCP 项目来解决这个问题吗?

谢谢, 内森

【问题讨论】:

  • Datastore 听起来有点类似于 Firestore,目前 Firestore 看起来像是直接从 GCP 进入 Firebase,就像配额、规则等类似,所以我想这就是原因。

标签: google-app-engine firebase google-cloud-datastore google-cloud-platform google-cloud-firestore


【解决方案1】:

这是目前我们希望在未来消除的技术限制。

是的,目前您需要使用 2 个单独的 GCP 项目才能同时使用 Cloud Datastore 和 Cloud Firestore。

【讨论】:

  • 知道这个限制是否很快就会消失吗?
  • 不会期待它明年会消失。
  • 嘿 @DanMcGrath 我在 Google 上搜索了有关 Firebase 实时数据库、Firestore 和 Datastore 三个方面的各个站点!到目前为止,我认为 Firestore 将取代 Datastore 和 RealtimeDatabase,因为它具有两者的功能。这就是谷歌的计划吗??
  • 好的....我会认为这是肯定的,并使用 Firestore 实施我的下一个 App Engine 项目。因为即使是 Datastore 和 Firestore 的价格也是匹配的!
  • 我猜 Firestore 是用 Datastore 实现的。这就是你不能在同一个项目中同时使用两者的原因。
猜你喜欢
  • 2018-03-17
  • 2022-01-06
  • 2012-06-01
  • 2016-01-04
  • 2012-12-13
  • 2014-05-25
  • 1970-01-01
  • 2022-10-20
  • 1970-01-01
相关资源
最近更新 更多