firebase - 更新后的 Firestore 计费

标签 firebase google-cloud-firestore billing

如果我更新一个与现有文档内容相同的文档,即使它没有对当前文档的内容进行任何更改,也会算作一次写入吗?

换句话说,Firestore 是否会在不检查文档内每个键的值的情况下更新文档?

最佳答案

If I update a document with the same content as the existing one, will it count as a write even if it doesn't change anything to the current document's content?

是的,确实如此。

In other words, does Firestore update the document without checking the values of each key inside the document?

是的,它确实会更新,它会覆盖整个文档,无论是否相同。 Firestore 没有检查文档是否相同的机制。你应该检查一下。

关于firebase - 更新后的 Firestore 计费,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61341604/

相关文章:

android - 使用多个 Firebase 项目终止应用程序时未收到 FCM 通知

java - 从 Firebase 存储检索图像下载 url

ios - Firebase 离线存储高级 - 手动同步和进度信息

从 Asterisk 1.4.21 升级后 chan->cdr 没有数据

android - 尽管执行成功,Firebase 可调用函数结果在客户端中始终为 null

java - 使用 FireBase/FireStore 访问 Java 内部函数中的数据

google-cloud-firestore - Firestore 规则 - 只允许更新文档的某些字段

firebase - 如何在 Firebase 上进行事件驱动

amazon-web-services - EC2 预留实例 - 24 个实例运行 1 小时(同一小时)是否等于 1 个实例运行 24 小时?

java - 您在哪里恢复用户的应用内购买?