Open kyawzazaw opened 4 years ago
@kyawzazaw you can run a loop locally to reformat the json file to bring out the courseid before importing back to the firestore.
You try this package, it's more up-to-date: https://github.com/dalenguyen/firestore-backup-restore
@dalenguyen Thanks for your response. I am not quite clear what you mean.
Are you suggesting me to reformat the json file? And then process it? Does the other package have this functionality?
@kyawzazaw, in order to have the structure based on your need. You have to follow the format of your file in order to import correctly.
https://github.com/dalenguyen/firestore-import-export/blob/master/import-to-firestore.json
For example, I would like my doc id to be the value from the key-value pair
courseid