简体   繁体   English

处理从Firebase获取的文档快照的数据是否算读?

[英]Does processing the data of a document snapshot obtained from Firebase count as a read?

This question is regarding the billing of Firebase.这个问题是关于Firebase的账单的。

Does processing the data of a document snapshot obtained from Firebase count as a read?处理从Firebase获取的文档快照的数据是否算读?

So does the below code incur costs on my Billing plan and thus counts as a read or is it just post-processing the already obtained data or snapshot?那么下面的代码是否会在我的计费计划中产生费用并因此算作一次读取,或者它只是对已经获得的数据或快照进行后处理?

docSnapshot.data().toString().contains('hello')

Question: So does the below code incur costs on my Billing plan and thus counts as a read or is it just post-processing the already obtained data or snapshot?问题:下面的代码是否会在我的计费计划中产生费用并因此算作一次读取,或者它只是对已经获得的数据或快照进行后处理?

Answer: It is "just post-processing the already obtained data or snapshot".答:“只是对已经得到的数据或快照进行后处理”。 You pay one read when you fetch the document from Firestore to your client.当您将文档从 Firestore 取回给您的客户时,您需要支付一次阅读费用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM