本文介绍了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:如何计算读数?
发布评论