【发布时间】:2018-03-23 14:46:09
【问题描述】:
据我所知 - 为了检查 document 是否存在,我应该使用 get 函数并查看它是否存在。
我的问题是关于更新时的检查 - 有可能吗?(考虑到更新发生时document 可能会消失)。
我尝试更新一个空的document,但我收到一个错误,提示该文档不存在,但我认为这可能不是检查此问题的成功方法。
【问题讨论】:
标签: java android firebase google-cloud-firestore