问题
I´m searching the best way to migrate Firebase Realtime Database Data to Cloud Firestore for a json database with many nested rows. Example:
I found nothing that could help me. For what I need the migration is the new offline functionality of the Cloud Firestore. I´m using Ionic3 (Angular5)
回答1:
Actually there's no standard way to migrate from Firebase Realtime Database to Cloud Firestore, because every application or project has is unique. You have to implement your own way of migrating to Cloud Firestore. But I suggest you read the next tutorials that will help you find the best way for you to migrate:
- Cloud Firestore Data Model.
- Firestore Data Structure.
Important note: By the way Firebase Realtime Database supports offilne persistence: Enabling Offline Capabilities Realtime Database.
来源:https://stackoverflow.com/questions/53930553/firebase-realtime-database-to-cloud-firestore