[英]Flutter Firestore is feching old data
So all of a sudden, firestore is fetching old data.所以突然之间,firestore 正在获取旧数据。 I Assume its caching it or something?
我假设它缓存它或什么? Randomly started doing it today.
今天随机开始做。
DocumentSnapshot testSnapshot =
await collRef.document('j7VTRjlHiPd6W6x0x7IzFzi7BJq1').get();
That is stale data, as seen below这是陈旧的数据,如下所示
How on earth do I fix this, and why did this happen?我究竟该如何解决这个问题,为什么会发生这种情况?
I deleted the record, and created a new record.我删除了记录,并创建了一条新记录。
No idea, and no reason the data was cached.不知道,也没有理由缓存数据。 Hope this doesn't happen on prod.
希望这不会发生在产品上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.