Execlude subcollections export
mohamedzakigithub opened this issue · comments
Basically I want to shallow export my collections. so I have a products top collection and in each document there is a history sub collection. so I would like to export the documents in the prodcut collection and execlude the sub collection.
Hi @mohamedzakigithub, this can be done by using the normal query from firestore.
https://firebase.google.com/docs/firestore/query-data/get-data#get_all_documents_in_a_collection
Has anyone found a solution to this? Cant we set a boolean within options like: "exportSubcollections : false" ?
I'm working on a fix for this. I noticed that fetching for subcollections also decrease enormously the speed of the export