Skip to content

Execlude subcollections export #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mohamedzakigithub opened this issue Apr 27, 2021 · 3 comments
Open

Execlude subcollections export #103

mohamedzakigithub opened this issue Apr 27, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@mohamedzakigithub
Copy link

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.

@dalenguyen dalenguyen added the enhancement New feature or request label Apr 27, 2021
@dalenguyen
Copy link
Owner

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

@shubhankar30
Copy link

Has anyone found a solution to this? Cant we set a boolean within options like: "exportSubcollections : false" ?

@matteobucci
Copy link

I'm working on a fix for this. I noticed that fetching for subcollections also decrease enormously the speed of the export

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants