You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
In an attempt to migrate data from Firestore to the RealtimeDB I was hoping the collections of my data would be placed inside of an object. It seems trivial to accomplish and maybe I'm the only one with this use case so I will be working on this. (First PR coming through so bear with me!)
The text was updated successfully, but these errors were encountered:
raullarosa
changed the title
Sub collections
Sub collections as nested object
Mar 5, 2018
Hi @raullarosa. I'm not sure how many subcollections that you have, but there is a way to get subcollection if you have its name. You can put this line of code inside the query for the main collection to get the sub-collection. In this case, my sub-collection name is 'sub'.
how can i export a sub collection in a nested object?
for example i have users collection, for export i will get all the users but without the sub collections of them.
i want to export users/{userId}/purchase for example, how can i achieve that?
In an attempt to migrate data from Firestore to the RealtimeDB I was hoping the collections of my data would be placed inside of an object. It seems trivial to accomplish and maybe I'm the only one with this use case so I will be working on this. (First PR coming through so bear with me!)
The text was updated successfully, but these errors were encountered: