Skip to content

Re-parent a collection and all its sub collections #155

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
devth opened this issue Aug 16, 2023 · 1 comment
Open

Re-parent a collection and all its sub collections #155

devth opened this issue Aug 16, 2023 · 1 comment

Comments

@devth
Copy link

devth commented Aug 16, 2023

Amazing project! I'm trying to figure out if this project supports this use case:

Export a collection group, e.g. types/{type}/networks/{network}
And import it at a new path, e.g. networks/{network}

Including all sub-collections under types/{type}/networks/{network}. Any guidance would be appreciated 🙏🏻

@mercpls
Copy link

mercpls commented Sep 25, 2023

If you use the backupFromDoc it will return all the subcollections of specific documents like your use case is asking for.

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

No branches or pull requests

2 participants