google-app-engine - 同一 GAE 项目中的 Firestore 和 Datastore

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

我有一个 Google App Engine 项目并使用 Datastore。

我看到在 firebase 控制台下,我还可以选择创建 Firestore 数据库。

此 Firestore 数据库是否使用同一 GAE 项目中的底层 Datastore?我猜它可能与 Datastore 并存?

也就是说,我可以在同一个项目中使用 Firestore 和 Datastore 吗?

如果我遗漏了什么,请告诉我...

最佳答案

它们是相关的。

但是除了不能在同一个项目中同时使用两者之外,如果/当你决定切换时你应该小心,因为切换是不可逆的(或者至少现在还不能)。花时间深入研究文档以做出明智的决定。

来自 Choosing between Cloud Firestore and Cloud Datastore :

Cloud Firestore is the next major version of Cloud Datastore and a re- branding of the product. Taking the best of Cloud Datastore and the Firebase Realtime Database, Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.

Warning: Once your database option is set, you cannot switch. You can't use both Cloud Firestore and Cloud Datastore in the same project.

关于google-app-engine - 同一 GAE 项目中的 Firestore 和 Datastore,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53735485/

相关文章:

java - GWT:如何在服务器和客户端(Gin/Guice)上格式化数字

python 谷歌应用程序引擎编程

python - 没有名为 options.pipeline_options 的模块

node.js - 云存储连接域与API服务器

swift - 如何将 Firestore 文档映射到结构?

firebase - 如何将身份验证用户链接到 Firestore 中的集合?

google-app-engine - 如何渲染多个模板

Python - 无法在本地应用程序引擎开发服务器中导入 bcrypt

google-cloud-platform - Cloud Composer GKE 节点升级导致 Airflow 任务随机失败

firebase - 如何显示 map 中的数据列表? - flutter 的Firestore