Following is path from where I want to retrieve all of data present in different documents.
/EAT(collection)/eat/Celebrity(collection)/celebrity/Actor(collection)
And there are different sub-collections instead of Celebrity like sports person and others.And also sub-collections like actress instead of Actor. So I want to fetch all the data from all documents at a time using loop or iterator in Android Java.
Queries in Firestore are shallow: they only get items from the collection that the query is run against. There is no way to get documents from a top-level collection and subcollections in a single query.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.