You simply have to query for this specific document and check if it exists as shown in the doc . You don't specify which language you are using so I cannot copy/paste the appropriate code but the different examples show exactly how to do, in particular by using the exists
property/method of the DocumentSnapshot
.
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.