I am using python's firebase-admin. I want to fetch the subcollection (and its documents) but the problem is the parent documents of the subcollection do not exist. Even though the subcollections of the non existent documents are still accessible.
Here is the screenshot of the cloud firestore
Here is the code I tried but it prints nothing:
db = firestore.client(app)
message_docs = db.collection('message').get()
for doc in message_docs:
print(doc.id)
Is it possible to fetch subcollections using python in this scenario? I don't know the ID of the documents.