dalenguyen / firestore-import-export

An application that can help you to backup and restore from Cloud Firestore | Firebase
https://www.npmjs.com/package/firestore-export-import
401 stars 109 forks source link

References Support #9

Closed mfferreira closed 6 years ago

mfferreira commented 6 years ago

Thank you for the tool. Really useful!

Reading through the exported that, it seems to get everything right about the reference paths. But when I try to import the same json, the references are just set as objects.

Is there any special way to arrange the data to be able to set that data as an actual reference?

Cheers

dalenguyen commented 6 years ago

Hi @mfferreira, I haven't written the function to import all yet, for now, you have to edit and import them separately like the sample JSON for a single collection. I will update the feature later.