Cloud Firestore:如何计算读数?

编程入门 行业动态 更新时间:2024-10-28 20:17:36
本文介绍了Cloud Firestore:如何计算读数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在Cloud Firestore中,我们需要支付读/写/删除操作的费用.也许这对于某些人来说是显而易见的,但我在任何地方都找不到被视为已读的内容.如果我有10条记录的集合,并且以列表的形式获取它们,那么它算作10次读取还是1次(因为我从数据库中只读取了一次)?

In Cloud Firestore we are charged for read/write/delete operations. Perhaps this is obvious for some but I could not find anywhere what is considered read. If I have a collection of 10 records and I fetch them all in form of a list, does it count as 10 reads or 1 (since I read only once from the database)?

推荐答案

由于您要阅读10份文档,因此需要为10份文档阅读收取费用.您使用的已读API调用数与此处无关.

Since you're reading 10 documents, so you'll be charged for 10 document reads. The number of read API calls you use is not relevant here.

另请参阅:

  • Firestore读/写定价; .limit(25)算作25次读取还是一次?
  • 了解Firestore定价
  • Firestore定价-金额是否收藏中的文件很重要吗?
  • QuizApp-Firebase/FireStore读取
  • Firestore read/write pricing; does .limit(25) counts as 25 reads or one?
  • Understanding Firestore Pricing
  • Firestore Pricing - Does The Amount Of Documents In A Collection Matters?
  • QuizApp - Firebase/ FireStore Reads

更多推荐

Cloud Firestore:如何计算读数?

本文发布于:2023-11-22 05:12:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1616097.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:读数   Cloud   Firestore

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!