[Firestore-BigQuery-Export]: How do you query collection and subcollections #767
Unanswered
GabrieleCalarota
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
How do you put in a relationship a collection imported in bigquery with a subcollection imported in bigquery as in the example of a firestore document:
I've imported in firestore both the collection users and all the subcollection users/{userID}/photos
In the photos_view table in BigQuery, although I only have two fields which are document_id (photo_1, photo_2 in the example above) and document_name (database/users/user_id_1/photos/photo_1, database/users/user_id_1/photos/photo_2 in the example above).
How do you put in a relationship those 2 tables knowning which photo document is referred to which user_id ???
Beta Was this translation helpful? Give feedback.
All reactions