如何将我的 Firebase 实时数据库传输到 Firebase Cloud Firestore [英] How to transfer my Firebase Realtime database to Firebase Cloud Firestore
问题描述
我已经在使用 Firebase 实时数据库,但现在 Firebase 已经为数据库启动了 Cloud Firestore,所以我如何将我的数据从实时数据库传输到 Firestore,因为我已经有用户并且他们在 android 应用程序上使用实时数据库.
I'm already using Firebase Realtime database, but now Firebase has launched Cloud Firestore for database so, how can I transfer my data from realtime database to firestore as I already have users and they are using realtime database on the android app.
那么,有没有办法将数据库传输到 firestore?
So, is there a way that I can transfer the database to firestore?
推荐答案
如果您正在寻找可以将您的数据库从 Realtime Database
转换为 Cloud Firestore的魔法按钮代码>,没有!据我所知,Firebase 创建者不会创建一个.所以很遗憾,您需要自己转换数据库.
If you're looking for a magic button that can convert your database from the Realtime Database
to Cloud Firestore
, there isn't one! And as far as I read, Firebase creators won't create one. So unfortunately, you'll need to convert the database yourself.
这篇关于如何将我的 Firebase 实时数据库传输到 Firebase Cloud Firestore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!