同一 GAE 项目中的 Firestore 和 Datastore
Firestore and Datastore in the same GAE project
我有一个 Google App Engine 项目并且我使用 Datastore。
我看到在 firebase 控制台下,我还可以选择创建 Firestore 数据库。
这个 Firestore 数据库是否使用同一个 GAE 项目中的底层 Datastore?我猜它可能与 Datastore 并存?
也就是说,我可以在同一个项目中使用 Firestore 和 Datastore 吗?
如果我遗漏了什么,请告诉我...
你不能。来自 documentation:
Cloud Firestore and App Engine: You can't use both Cloud Firestore and
Cloud Datastore in the same project, which might affect apps using App
Engine. Try using Cloud Firestore with a different project.
它们是相关的。
但是除了不能在同一个项目中同时使用两者之外,您还应该小心 if/when 您决定切换是因为切换不可逆(或至少目前不可逆)。花时间深入研究文档以做出明智的决定。
来自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 项目并且我使用 Datastore。
我看到在 firebase 控制台下,我还可以选择创建 Firestore 数据库。
这个 Firestore 数据库是否使用同一个 GAE 项目中的底层 Datastore?我猜它可能与 Datastore 并存?
也就是说,我可以在同一个项目中使用 Firestore 和 Datastore 吗?
如果我遗漏了什么,请告诉我...
你不能。来自 documentation:
Cloud Firestore and App Engine: You can't use both Cloud Firestore and Cloud Datastore in the same project, which might affect apps using App Engine. Try using Cloud Firestore with a different project.
它们是相关的。
但是除了不能在同一个项目中同时使用两者之外,您还应该小心 if/when 您决定切换是因为切换不可逆(或至少目前不可逆)。花时间深入研究文档以做出明智的决定。
来自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.