Closed
Description
[READ] Step 1: Are you in the right place?
- For issues or feature requests related to the code in this repository
file a Github issue.- If this is a feature request make sure the issue title starts with "FR:".
- For general technical questions, post a question on StackOverflow
with the firebase tag. - For general Firebase discussion, use the firebase-talk
google group. - For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Operating System version: MacOS 10.14.5
- Firebase SDK version: 7.2.1
- Library version: firebase-tools v'7.2.1' & firebase-admin v'8.3.0' & firebase-functions v'3.2.0'
- Firebase Product: admin & firestore (auth, database, storage, etc)
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
-
I was used firebase-tools v'7.0.0' & firebase-admin v'7.0.0' & firebase-functions v'2.3.0', then can use method 'getCollections' of DocumentReference.
-
But I was upgrade version firebase-tools v'7.2.1' & firebase-admin v'8.3.0' & firebase-functions v'3.2.0', then I can't use this method and occur this error.
Did you deprecated this method or not? I still see The documentation at here for this method 'https://firebase.google.com/docs/firestore/query-data/get-data#list_subcollections_of_a_document'
Relevant Code:
await documentRef.getCollections()