同一GAE项目中的Firestore和Datastore [英] Firestore and Datastore in the same GAE project

本文介绍了同一GAE项目中的Firestore和Datastore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Google App Engine项目,并且使用了数据存储.

I have a Google App Engine project and I use Datastore.

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

I see that under the firebase console, I also have the option to create a Firestore database.

此Firestore数据库是否在同一GAE项目中使用基础数据存储?我猜想它可能与Datastore并存吗?

Does this Firestore database use the underlying Datastore in the same GAE project? I'm guessing maybe it lives side by side with Datastore?

话虽如此,我可以在同一项目中使用Firestore和Datastore吗?

That being said, can I use Firestore and Datastore in the same project?

让我知道我是否想念一些东西...

Let me know if I am missing something...

推荐答案

它们是相关的.

但是除了不能在同一个项目中同时使用这两个功能外,如果/当您决定进行切换时,请务必小心,因为切换是不可逆的(或至少还不能逆转).花时间深入研究文档以做出明智的决定.

But in addition to not being able to use both in the same project you should be careful if/when you decide to switch as the switch isn't reversible (or at least not yet). Take the time to dive into the documentation to make an informed decision.

在Cloud Firestore和Cloud Datastore之间进行选择:

Cloud Firestore是Cloud Datastore的下一个主要版本,它是 产品的品牌.充分利用Cloud Datastore和 Firebase实时数据库,Cloud Firestore是NoSQL文档 为自动扩展,高性能和易用性而构建的数据库 应用程序开发.

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.

警告:设置数据库选项后,您将无法切换.您不能在同一环境中同时使用Cloud Firestore和Cloud Datastore 项目.

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

这篇关于同一GAE项目中的Firestore和Datastore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆