我有一个 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/