在Firestore中删除文档后出现 [英] Documents appear after being deleted in Firestore

查看:42
本文介绍了在Firestore中删除文档后出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Firestore帐户遇到异常行为,在控制台上选择一个collection,然后单击Delete all documents,这表明所有内容已成功删除.当我刷新数据时,该集合将显示所有已删除的数据.我无所事事,想知道是什么原因造成的.有解决办法吗?

I am experiencing a strange behavior with my Firestore account, on the console I select a collection then I click Delete all documents an it indicates that all have been deleted successfully. When I refresh the data, the collection appear with all the deleted data. I have no service doing this anywhere and wondering what may cause this. Is there a solution?

此外,我对控制台上的document字段所做的任何更改都是成功的,但刷新后会丢失.

Alongside this, any change I do to the document fields on the console are successful but are lost after refreshing.

推荐答案

我今天遇到了以前从未见过的类似行为.我从Firestore控制台删除了文档,但我的应用仍在成功获取它们.现在,在见证该行为大约一个小时后,一切恢复正常,并且在设备上立即看到我的控制台删除.

I experienced similar behaviour today that I haven't seen before. I deleted documents from the Firestore console but my app was still fetching them successfully. Now, about an hour after witnessing that behaviour everything is back to normal and my console deletes are immediately seen on the device.

我认为这是Firestore中的一个小故障-毕竟它仍处于Beta中.

I'm thinking it was a glitch in Firestore - after all it's still in Beta.

这篇关于在Firestore中删除文档后出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆